Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f66dbce authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change Ic37381fb into eclair

* changes:
  docs: fix doc error in dialog example snippet
parents c75348a9 c37381fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -624,7 +624,7 @@ AlertDialog.Builder builder;
AlertDialog alertDialog;
AlertDialog alertDialog;


Context mContext = getApplicationContext();
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,
View layout = inflater.inflate(R.layout.custom_dialog,
                               (ViewGroup) findViewById(R.id.layout_root));
                               (ViewGroup) findViewById(R.id.layout_root));