From c06cbc762f622acacad248105c02585220be9207 Mon Sep 17 00:00:00 2001 From: Roman Birg Date: Mon, 2 Feb 2015 17:17:06 -0800 Subject: Settings: apply default profile after resetting them Change-Id: Ibdd09e069ec6c71b3e3f914614805b01bdf8a3dd Signed-off-by: Roman Birg --- src/com/android/settings/profiles/ProfilesSettings.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/com/android/settings/profiles') 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) -- cgit v1.1