Skip to content
Commit a3d67048 authored by Gavin Corkery's avatar Gavin Corkery
Browse files

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
parent b78bf4e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment