Reset Settings task when using the user switcher

Bug: 17294618
Change-Id: I8bd9d7226e52017938828f3bc195cc995fe80b20
This commit is contained in:
Alexandra Gherghina
2014-09-04 16:52:53 +01:00
parent 1e0ea45263
commit 56645002b2
3 changed files with 3 additions and 3 deletions

View File

@@ -298,8 +298,8 @@ public class PrintSettingsFragment extends SettingsPreferenceFragment
if (selectedUser.getIdentifier() != UserHandle.myUserId()) {
Intent intent = new Intent(Settings.ACTION_PRINT_SETTINGS);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
getActivity().startActivityAsUser(intent, selectedUser);
getActivity().finish();
}
}