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

Commit c37381fb authored by Scott Main's avatar Scott Main
Browse files

docs: fix doc error in dialog example snippet

bug: 2160782
parent 0b08abe1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));