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

Skip to content
Commit ed6a388e authored by Chinmay Dhodapkar's avatar Chinmay Dhodapkar
Browse files

Add MODIFY_PHONE_STATE when registering receiver

Without this additional check we can end up handling
ACTION_TTY_PREFERRED_MODE_CHANGE from an unpriviledged app
Currently this intent is sent by dialer on 1P devices, so
it cannot be converted to a protected-broadcast

Bug: 236264289
Tests: atest DeviceCapabilityListenerTest
Change-Id: I221b28dd3e1f7ed51f915dc79a62f8818f8a65a2
parent 5b3b33b9
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