commit | ed6a388e3f5a65065c11acd80f175b7e7169e9b2 | [log] [tgz] |
---|---|---|
author | Chinmay Dhodapkar <chinmayd@google.com> | Fri Jun 17 14:29:47 2022 -0700 |
committer | Chinmay Dhodapkar <chinmayd@google.com> | Tue Jun 21 18:25:44 2022 +0000 |
tree | 10368e5a7a3c5e12b5159c18540f1b53dd771fd7 | |
parent | 5b3b33b910708852cb50babd3b124b4f6657b9ae [diff] |
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