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

Commit 559ac1cb authored by Matt Casey's avatar Matt Casey
Browse files

Clear back stack when editing a screenshot

Previously old screenshot editing sessions could be accessed via back
(or similar on-screen affordance).

Bug: 149483164
Test: Manual testing of bug resolution.
Change-Id: Ic508371220c13b42b72ea9b42c0395d9f250f8a7
parent b86e5a77
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -301,6 +301,7 @@ class SaveImageInBackgroundTask extends AsyncTask<Void, Void, Void> {
        editIntent.setData(uri);
        editIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
        editIntent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
        editIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);

        // Create a edit action
        PendingIntent editAction = PendingIntent.getBroadcastAsUser(context, requestCode,