commit | 7470d095446636db35ad1f423a4bee0b4fc841b9 | [log] [tgz] |
---|---|---|
author | Sean Liu <guanxiongliu@google.com> | Tue Feb 02 20:08:19 2016 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Feb 02 20:08:19 2016 +0000 |
tree | 1b23613485983010d5d0d6550e5bd947ccd3da03 | |
parent | bbdcd52bfe0cec3eff0d99b431587fb115e56790 [diff] | |
parent | 10be3bf84fa94e353d9950819c95852d3bb9df34 [diff] |
Merge "Deleting obsolete code and changing code structure since we stop prompting user to add account when no account available Bug:25161189"
diff --git a/src/com/android/contacts/common/editor/SelectAccountDialogFragment.java b/src/com/android/contacts/common/editor/SelectAccountDialogFragment.java index d4a23f0..8f48395 100644 --- a/src/com/android/contacts/common/editor/SelectAccountDialogFragment.java +++ b/src/com/android/contacts/common/editor/SelectAccountDialogFragment.java
@@ -105,6 +105,12 @@ } } + @Override + public void onSaveInstanceState(Bundle b) { + setTargetFragment(null, -1); + super.onSaveInstanceState(b); + } + /** * Calls {@link Listener#onAccountChosen} of {@code targetFragment}. */