Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c44d4f3f authored by Joseph Vincent's avatar Joseph Vincent Committed by Android (Google) Code Review
Browse files

Merge "Clear settings task on deleting private space" into main

parents 44914893 f58acef1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -58,7 +58,8 @@ public class PrivateSpaceDashboardFragment extends DashboardFragment {
    public void onStart() {
        super.onStart();
        if (PrivateSpaceMaintainer.getInstance(getContext()).isPrivateSpaceLocked()) {
            finish();
            // To make sure the task is removed if it is the last activity in that stack.
            getActivity().finishAndRemoveTask();
        }
    }