diff options
author | Ashwini Oruganti <ashfall@google.com> | 2021-01-07 12:04:25 -0800 |
---|---|---|
committer | Ashwini Oruganti <ashfall@google.com> | 2021-01-12 15:07:43 -0800 |
commit | f8191e8996452432f6eb979180866dff84240ab7 (patch) | |
tree | 63dcc980521abb80117b2fbc201e2f8c336852d4 /telecomm/java/android/telecom/InCallService.java | |
parent | 41c074582d20e2b33350130c22bb41bd032cf54a (diff) |
Bulk apply PendingIntent.FLAG_MUTABLE_UNAUDITED.
We've been working hard to require PendingIntents explicitly declare
if they allow their contents to be mutated or not, and to finish
landing that work this change applies the new FLAG_MUTABLE_UNAUDITED
flag to all remaining code locations until they can be manually
inspected.
Bug: 160794467
Test: manual
Change-Id: I8d7ec64ac89755c14b5959bb6ef0bce203c92bf0
Diffstat (limited to 'telecomm/java/android/telecom/InCallService.java')
-rw-r--r-- | telecomm/java/android/telecom/InCallService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telecomm/java/android/telecom/InCallService.java b/telecomm/java/android/telecom/InCallService.java index 07de61759d59..5cf8de8f9078 100644 --- a/telecomm/java/android/telecom/InCallService.java +++ b/telecomm/java/android/telecom/InCallService.java @@ -179,7 +179,7 @@ import java.util.List; * Intent intent = new Intent(Intent.ACTION_MAIN, null); * intent.setFlags(Intent.FLAG_ACTIVITY_NO_USER_ACTION | Intent.FLAG_ACTIVITY_NEW_TASK); * intent.setClass(context, YourIncomingCallActivity.class); - * PendingIntent pendingIntent = PendingIntent.getActivity(context, 1, intent, 0); + * PendingIntent pendingIntent = PendingIntent.getActivity(context, 1, intent, PendingIntent.FLAG_MUTABLE_UNAUDITED); * * // Build the notification as an ongoing high priority item; this ensures it will show as * // a heads up notification which slides down over top of the current content. |