summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-12-04 14:49:52 -0700
committerJeff Sharkey <jsharkey@android.com>2015-12-07 15:38:37 -0700
commit39a275b3980b5ea75e060da540229b95a47333f7 (patch)
tree5f754f1bdff6716acbe872f9e588341972cb00d7 /tools/aapt2/java/JavaClassGenerator.cpp
parent152ffc2c7533a1c05febf08447005e4def3dd20b (diff)
Better protection for system broadcast intents.
When the system sends broadcast intents, it's in a very authoritative position, and many apps blindly trust the sender. This is why we've historically had the concept of "protected broadcasts" which can only be sent by the system. However, it's far too easy to send new broadcasts from the system without adding them to the protected list. This CL adds logic to help catch those cases. Currently it just logs the error and continues sending the broadcast. Based on boot analysis of a typical device, add 36 new protected broadcasts. Bug: 24571095 Change-Id: Ie2cc6b0b2026e67c64730af897e4eb3e0e8404f1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions