Files
frameworks_base/core/java/android/app
Ashwini Oruganti 571ed8dc58 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
2020-09-22 14:59:31 -07:00
..
2020-08-28 15:50:36 +01:00
2020-06-20 03:01:36 +00:00
2020-04-08 21:30:24 +08:00
2020-08-05 17:40:02 +00:00
2020-04-28 15:02:26 +01:00