summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/ui/dialogs.jd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/guide/topics/ui/dialogs.jd')
-rw-r--r--docs/html/guide/topics/ui/dialogs.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/topics/ui/dialogs.jd b/docs/html/guide/topics/ui/dialogs.jd
index c0c0b1b..4e4ca14 100644
--- a/docs/html/guide/topics/ui/dialogs.jd
+++ b/docs/html/guide/topics/ui/dialogs.jd
@@ -624,7 +624,7 @@ AlertDialog.Builder builder;
AlertDialog alertDialog;
Context mContext = getApplicationContext();
-LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(LAYOUT_INFLATER);
+LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(LAYOUT_INFLATER_SERVICE);
View layout = inflater.inflate(R.layout.custom_dialog,
(ViewGroup) findViewById(R.id.layout_root));