diff options
author | Ashwini Oruganti <ashfall@google.com> | 2020-08-26 14:24:18 -0700 |
---|---|---|
committer | Ashwini Oruganti <ashfall@google.com> | 2020-09-28 18:31:02 +0000 |
commit | 0dbae32d2383af0306cf3e1e2078ee8a77d9f89f (patch) | |
tree | 0f0676a099ddbe3d685e844316defec91061ae52 /rs/java/android/renderscript/ProgramStore.java | |
parent | 10de4d606aa0a513eb0a63b98ca3a5b52dd518da (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.e() 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.e 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: I18b21903c7cd0946dce5d7ca7860258612d9f98f
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions