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

Commit 45909b9a authored by Matt Casey's avatar Matt Casey Committed by Automerger Merge Worker
Browse files

Merge "Clear back stack when editing a screenshot" into rvc-dev am: 76942bc6

Change-Id: I4d170e211697a8ff0fd87aec97abe0c157341a50
parents 9ef54c8b 76942bc6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -324,6 +324,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);

        // Make sure pending intents for the system user are still unique across users
        // by setting the (otherwise unused) request code to the current user id.