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

Commit 45553eb0 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Merge branch '5558-q-screenshot_modify' into 'v1-q'

base: Enable support for editing screenshot after taken

See merge request e/os/android_frameworks_base!128
parents 7851e0b4 92520a5a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -526,6 +526,7 @@ class SaveImageInBackgroundTask extends AsyncTask<Void, Void, Void> {
            // Create the intent to show the screenshot in gallery
            // Create the intent to show the screenshot in gallery
            Intent launchIntent = new Intent(Intent.ACTION_VIEW);
            Intent launchIntent = new Intent(Intent.ACTION_VIEW);
            launchIntent.setDataAndType(mParams.imageUri, "image/png");
            launchIntent.setDataAndType(mParams.imageUri, "image/png");
            launchIntent.putExtra("from-snapcam", true);
            launchIntent.setFlags(
            launchIntent.setFlags(
                    Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_GRANT_READ_URI_PERMISSION);
                    Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_GRANT_READ_URI_PERMISSION);