diff options
Diffstat (limited to 'java/com/android/contacts/common/widget')
-rw-r--r-- | java/com/android/contacts/common/widget/SelectPhoneAccountDialogFragment.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/com/android/contacts/common/widget/SelectPhoneAccountDialogFragment.java b/java/com/android/contacts/common/widget/SelectPhoneAccountDialogFragment.java index 6c6aebc0b..e21fded97 100644 --- a/java/com/android/contacts/common/widget/SelectPhoneAccountDialogFragment.java +++ b/java/com/android/contacts/common/widget/SelectPhoneAccountDialogFragment.java @@ -123,6 +123,11 @@ public class SelectPhoneAccountDialogFragment extends DialogFragment { return mListener; } + @VisibleForTesting + public boolean canSetDefault() { + return getArguments().getBoolean(ARG_CAN_SET_DEFAULT); + } + @Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); |