summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Gavin Corkery <gavincorkery@google.com> 2022-03-09 16:54:42 +0000
committer Gavin Corkery <gavincorkery@google.com> 2022-03-15 15:05:05 +0000
commita3d67048fb2323afa5b281750e652829101bebe6 (patch)
tree43b969a8a85215ab895603996c7e0764c1e4511e /libs/androidfw/StringPool.cpp
parentb78bf4e4d7b9d19c8872c76e95a001adcecc315d (diff)
Don't allow sandbox uids to call registerReceiver
Adds a check to ensure that the uid that calls registerReceiver is not an SDK sandbox uid. This will disallow the SDK sandbox from dynamically registering to receive broadcasts. Test: Manual. Set up sample SDK provider to receive TIME_TICK broadcasts. Note that broadcasts are received every minute without this change, and are not received with it. Bug: 209770512 Change-Id: I2edec36d9579287e8458a3f13228b1bd1298cf41
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions