summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Scott Main <smain@google.com> 2009-10-16 14:08:37 -0700
committer Scott Main <smain@google.com> 2009-10-16 14:08:37 -0700
commitc37381fbeeaa5b8fa77c87e26586525d658a23d7 (patch)
treef60154526883ad264cd5b9c2bb4445232a324a21
parent0b08abe1b8e4f49cfaefb8226696664ad3d5ca6a (diff)
docs: fix doc error in dialog example snippet
bug: 2160782
-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 c0c0b1bc58da..4e4ca14bb821 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));