diff options
author | Roman Birg <roman@cyngn.com> | 2015-03-23 18:22:17 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-26 16:11:15 -0700 |
commit | 9ac1e31e2f15b2d00e1eceff0537becfe2a655e3 (patch) | |
tree | 3432c5842e269ef346daec7b3c1e7af4d611b92c /src/com/android/settings/profiles | |
parent | d5f597f077eb728f66aa4befd99c66b870dd05c1 (diff) | |
download | packages_apps_Settings-9ac1e31e2f15b2d00e1eceff0537becfe2a655e3.zip packages_apps_Settings-9ac1e31e2f15b2d00e1eceff0537becfe2a655e3.tar.gz packages_apps_Settings-9ac1e31e2f15b2d00e1eceff0537becfe2a655e3.tar.bz2 |
Settings: prompt to fill new profiles out only once
On rotate, this popup would keep coming up, even after the user
expressed yes/no.
Change-Id: Iac47797f8a9538d0bedf1db4a41209578df544f3
Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'src/com/android/settings/profiles')
-rw-r--r-- | src/com/android/settings/profiles/SetupActionsFragment.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/profiles/SetupActionsFragment.java b/src/com/android/settings/profiles/SetupActionsFragment.java index a2f41fe..6f3edb2 100644 --- a/src/com/android/settings/profiles/SetupActionsFragment.java +++ b/src/com/android/settings/profiles/SetupActionsFragment.java @@ -142,7 +142,8 @@ public class SetupActionsFragment extends SettingsPreferenceFragment rebuildItemList(); setHasOptionsMenu(true); - if (mNewProfileMode) { + if (mNewProfileMode && savedInstanceState == null) { + // only pop this up on first creation requestFillProfileFromSettingsDialog(); } } |