summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/profiles')
-rw-r--r--src/com/android/settings/profiles/ProfilesSettings.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/settings/profiles/ProfilesSettings.java b/src/com/android/settings/profiles/ProfilesSettings.java
index 0c3bcd9..e03cc53 100644
--- a/src/com/android/settings/profiles/ProfilesSettings.java
+++ b/src/com/android/settings/profiles/ProfilesSettings.java
@@ -211,6 +211,8 @@ public class ProfilesSettings extends SettingsPreferenceFragment {
public void onClick(DialogInterface dialog, int id) {
mProfileManager.resetAll();
mAdapter.refreshProfiles();
+ mProfileManager.setActiveProfile(
+ mProfileManager.getActiveProfile().getUuid());
}
})
.setNegativeButton(R.string.cancel, null)