Merge "Clear settings task on deleting private space" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
c44d4f3f6f
@@ -58,7 +58,8 @@ public class PrivateSpaceDashboardFragment extends DashboardFragment {
|
|||||||
public void onStart() {
|
public void onStart() {
|
||||||
super.onStart();
|
super.onStart();
|
||||||
if (PrivateSpaceMaintainer.getInstance(getContext()).isPrivateSpaceLocked()) {
|
if (PrivateSpaceMaintainer.getInstance(getContext()).isPrivateSpaceLocked()) {
|
||||||
finish();
|
// To make sure the task is removed if it is the last activity in that stack.
|
||||||
|
getActivity().finishAndRemoveTask();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user