diff options
author | Jeff Sharkey <jsharkey@android.com> | 2020-10-20 16:20:52 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2020-10-20 16:20:54 -0600 |
commit | 864524af17bb8ffd2ecbbc721add6b678b63d686 (patch) | |
tree | abb5efa8a728310eb38e9ebefa82846f0d378e87 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | c0e3a096904519657bdf808a725e61848132a7f1 (diff) |
Apply FLAG_IMMUTABLE to various PendingIntents.
Some careful spot-checking has revealed common cases where it's
reasonable to blanket apply the new FLAG_IMMUTABLE option to newly
created PendingIntents. Specifically these situations:
-- Simple notification content clicks are immutable; there's no need
to communicate customized data back to the creator
-- Simple notification action clicks are immutable; there's no need
to communicate customized data back to the creator
-- Broadcast intents sent by AlarmManager are immutable; the system
dispatches them without customization.
Bug: 170165227, 170424283, 170425388, 170425877
Bug: 169791183, 170771965, 170226088, 170224928, 170767530
Test: none
Change-Id: I5ed68710d2ccad4635a30fd91136a9e6ad76a01d
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions