diff options
Diffstat (limited to 'src/com/android')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/settings/applications/ManageApplications.java b/src/com/android/settings/applications/ManageApplications.java index ac5a78ab6..e64e56e50 100644 --- a/src/com/android/settings/applications/ManageApplications.java +++ b/src/com/android/settings/applications/ManageApplications.java @@ -1041,10 +1041,10 @@ public class ManageApplications extends Fragment implements if (selectedUser.getIdentifier() != UserHandle.myUserId()) { Intent intent = new Intent(Settings.ACTION_APPLICATION_SETTINGS); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); + intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK); int currentTab = mViewPager.getCurrentItem(); intent.putExtra(EXTRA_LIST_TYPE, mTabs.get(currentTab).mListType); mContext.startActivityAsUser(intent, selectedUser); - getActivity().finish(); } } diff --git a/src/com/android/settings/notification/NotificationAppList.java b/src/com/android/settings/notification/NotificationAppList.java index 7ca4b1813..86a7de409 100644 --- a/src/com/android/settings/notification/NotificationAppList.java +++ b/src/com/android/settings/notification/NotificationAppList.java @@ -155,8 +155,8 @@ public class NotificationAppList extends PinnedHeaderListFragment if (selectedUser.getIdentifier() != UserHandle.myUserId()) { Intent intent = new Intent(getActivity(), NotificationAppListActivity.class); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); + intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK); mContext.startActivityAsUser(intent, selectedUser); - getActivity().finish(); } } diff --git a/src/com/android/settings/print/PrintSettingsFragment.java b/src/com/android/settings/print/PrintSettingsFragment.java index 2acc7335a..3e2cd8bb7 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(); } } |