summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAshwini Oruganti <ashfall@google.com>2020-08-26 14:24:18 -0700
committerAshwini Oruganti <ashfall@google.com>2020-09-22 14:59:31 -0700
commit571ed8dc588253d0134d3bbee201895d2a659b9b (patch)
treede9c386cb1c0dd03472f7308ef62a3c3c9074242 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent38cc1531f3f52a35dcb8435bd90b677c91574b35 (diff)
Define FLAG_MUTABLE and add a compat change for explicit definition of PendingIntent mutability flags
For future releases, we will require that either FLAG_IMMUTABLE or FLAG_MUTABLE is defined when a PendingIntent is created. The check only results in a log.wtf for now while we notify, identify, and update major PendingIntents. We will add a stricter IllegalArgumentException soon. - Define FLAG_MUTABLE - Add a check and log.wtf that either FLAG_IMMUTABLE or FLAG_MUTABLE is specified on creation for future releases - Update api/current.txt and non-updatable-api/current.txt to include FLAG_MUTABLE Test: atest PendingIntentTest Bug: 160794467 Change-Id: I1f1f72c6ce22358e98e9f38be2fb98b27e60898c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions