From f3bc5349b20f642f798c2b96d7bf7c05c2af998f Mon Sep 17 00:00:00 2001 From: Scott Main Date: Fri, 16 Oct 2009 14:08:37 -0700 Subject: [PATCH] docs: fix doc error in dialog example snippet (no not merge) bug: 2160782 --- docs/html/guide/topics/ui/dialogs.jd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/html/guide/topics/ui/dialogs.jd b/docs/html/guide/topics/ui/dialogs.jd index c0c0b1bc58da4..4e4ca14bb8218 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));