Merge "Make view intent immutable" into qt-dev am: 0edf8f0f1f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885736

Change-Id: I597ec260619c47aa9cb263a5757a81c82adc6b20
This commit is contained in:
TreeHugger Robot
2020-06-25 19:13:38 +00:00
committed by Automerger Merge Worker

View File

@@ -362,7 +362,7 @@ public class RecordingService extends Service {
this, this,
REQUEST_CODE, REQUEST_CODE,
viewIntent, viewIntent,
Intent.FLAG_GRANT_READ_URI_PERMISSION)) PendingIntent.FLAG_IMMUTABLE))
.addAction(shareAction) .addAction(shareAction)
.addAction(deleteAction) .addAction(deleteAction)
.setAutoCancel(true); .setAutoCancel(true);