Skip to content
Commit d2c9c89e authored by Hugh Chen's avatar Hugh Chen
Browse files

Add the explicitly mutable flag for creating a PendingIntent

- Android S+ to specify explicitly either FLAG_MUTABLE or FLAG_IMMUTABLE
  when creating a PendingIntent.
- Suggest to use the FLAG_IMMUTABLE as default. Change it to
  FLAG_MUTABLE while errors occur.

Bug: 172415655
Test: build pass, manual test to start/remove discoverable timeout
Change-Id: I94e26c44eb8aebb8d9a67b9d29e6bbac768a40e7
parent 9873b970
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment