summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2009-10-16 14:08:37 -0700
committerXavier Ducrohet <xav@android.com>2009-10-16 17:40:36 -0700
commitf3bc5349b20f642f798c2b96d7bf7c05c2af998f (patch)
treed2954e001ccbb53b6d1fb6940996635492fc84bc
parent30a6657ec6051ba5a1c72a714c9dc535dff127a4 (diff)
downloadframeworks_base-f3bc5349b20f642f798c2b96d7bf7c05c2af998f.zip
frameworks_base-f3bc5349b20f642f798c2b96d7bf7c05c2af998f.tar.gz
frameworks_base-f3bc5349b20f642f798c2b96d7bf7c05c2af998f.tar.bz2
docs: fix doc error in dialog example snippet (no not merge)
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 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));