Make view intent immutable

Bug: 156959408
Test: manual, atest
Change-Id: I80de1ea9c4535559f4ca2838a66da9e19eacf49d
(cherry picked from commit 4cecd359ab)
This commit is contained in:
Beth Thibodeau
2020-06-15 13:24:18 -04:00
parent f0a0963d1d
commit 64049fad82

View File

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