Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 420c120d authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Ensure AdapterService and GattService are accessed from BluetoothManagerService only

Both AdapterService and GattService were designed with just one client
in mind - BluetoothManagerService. Ensure 3p apps can't bind to it.

ACCESS_BLUETOOTH_SHARE permission have "signature" protection level,
which makes sure only apps signed with same key can use it.

Test: compile, ensure Bluetooth functioning, POC is throwing security
      exception  and no longer reproducing bug
Bug: 182583850
Change-Id: Iaebb33787c3ac3076b51e358ff4313f0ff8e744b
parent 2d571c0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment