diff options
author | Ashwini Oruganti <ashfall@google.com> | 2020-11-13 13:40:29 -0800 |
---|---|---|
committer | Ashwini Oruganti <ashfall@google.com> | 2020-11-13 13:48:35 -0800 |
commit | 7b20a8f6c7ffe261ce980fecda717a86b37f62bb (patch) | |
tree | 3d72c8349c4091bc08da3fdc83400b0f874e019b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8f8eaec80190bc4a35851b9efbef412dd63efb70 (diff) |
StorageNotification.java: Apply FLAG_IMMUTABLE to various PIs
An explicit mutability flag is soon going to be required for any created
PendingIntent. go/immutable-pendingintents has context on this new
requirement. In this commit it seems reasonable to apply FLAG_IMMUTABLE
to these PIs for the following cases:
-- 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
Bug: 173158147
Test: TH
Change-Id: I0525c067a3f18ae72edb52767b7d6807f2318444
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions