Skip to content
Commit 652ac963 authored by Cole Faust's avatar Cole Faust
Browse files

Add FLAG_IMMUTABLE to PendingIntents

If your app targets Android 12, you must specify the mutability of each
PendingIntent object that your app creates. This additional requirement
improves your app's security.
https://developer.android.com/about/versions/12/behavior-changes-12#pending-intent-mutability

Android Lint is being updated, and adds an error-level check for this.

Bug: 247885568
Test: Presubmits
Change-Id: Ib82e2b0bbea3c1dd1810c56c4ea70f7809aa122a
parent f55958fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment