commit | d2c9c89e8cba79026645b77844a21862d637d8ff | [log] [tgz] |
---|---|---|
author | Hugh Chen <hughchen@google.com> | Mon Nov 09 17:20:07 2020 +0800 |
committer | Hugh Chen <hughchen@google.com> | Mon Nov 09 17:41:04 2020 +0800 |
tree | f094721a47a57bfc31bcc5f1eeffd49854aa77fe | |
parent | 9873b97017722e2c0ebfa5a414590eb05f52897f [diff] |
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