Merge "Make view intent immutable" into qt-dev

This commit is contained in:
TreeHugger Robot
2020-06-25 19:08:21 +00:00
committed by Android (Google) Code Review

View File

@@ -388,7 +388,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);