commit | f4dc2d5f25bf7bc31abc2c9e588c84d6d9318fe3 | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Fri Sep 23 15:17:52 2022 -0700 |
committer | Cole Faust <colefaust@google.com> | Fri Sep 23 15:17:52 2022 -0700 |
tree | c9b79d2d60dc8d4dd08d795e120db63d0199ea45 | |
parent | 16a8d0fa8e65ddfeb6eba1ecd8bfd932cf23c438 [diff] |
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: I2bb91d98b443af2b5c16944ce197d863dbd33f9a