diff options
author | Alexandra Gherghina <alexgherghina@google.com> | 2014-09-04 16:52:53 +0100 |
---|---|---|
committer | Alexandra Gherghina <alexgherghina@google.com> | 2014-09-05 11:39:39 +0100 |
commit | 56645002b2729c1f7696529e530164a031fb7978 (patch) | |
tree | 724e1d8a3936b3340b3e91eacbd070c479c30a72 /src/com/android/settings/print | |
parent | 1e0ea452635fb3e8fbac733567489a38ee3ed635 (diff) | |
download | packages_apps_Settings-56645002b2729c1f7696529e530164a031fb7978.zip packages_apps_Settings-56645002b2729c1f7696529e530164a031fb7978.tar.gz packages_apps_Settings-56645002b2729c1f7696529e530164a031fb7978.tar.bz2 |
Reset Settings task when using the user switcher
Bug: 17294618
Change-Id: I8bd9d7226e52017938828f3bc195cc995fe80b20
Diffstat (limited to 'src/com/android/settings/print')
-rw-r--r-- | src/com/android/settings/print/PrintSettingsFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/print/PrintSettingsFragment.java b/src/com/android/settings/print/PrintSettingsFragment.java index 2acc733..3e2cd8b 100644 --- a/src/com/android/settings/print/PrintSettingsFragment.java +++ b/src/com/android/settings/print/PrintSettingsFragment.java @@ -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(); } } |