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

Commit 5e0499f2 authored by Nancy Chen's avatar Nancy Chen
Browse files

Refactoring: modifying SelectPhoneAccountDialogFragment constructor.

The SelectPhoneAccountDialog fragment now supports optional/changeable title and
checkbox fields, but to simplify that case, add a method that will
initialize the dialog to default values.

Bug: 18204058
Change-Id: Icd3b880378ff9a7d8ee75e01ec85ed40b29a59ab
parent ac0b6dff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -229,7 +229,7 @@ public class SpecialCharSequenceMgr {
                    };

                    SelectPhoneAccountDialogFragment.showAccountDialog(
                            ((Activity) context).getFragmentManager(), false, phoneAccountHandles,
                            ((Activity) context).getFragmentManager(), phoneAccountHandles,
                            listener);
                } else {
                    return false;
@@ -290,7 +290,7 @@ public class SpecialCharSequenceMgr {
                };

                SelectPhoneAccountDialogFragment.showAccountDialog(
                        ((Activity) context).getFragmentManager(), false, phoneAccountHandles,
                        ((Activity) context).getFragmentManager(), phoneAccountHandles,
                        listener);
            }
            return true;