diff options
| author | 2022-02-09 21:01:57 +0100 | |
|---|---|---|
| committer | 2022-02-13 13:06:39 +0100 | |
| commit | 28dac743f0f1bc2e8843f6fed311b78684785fd5 (patch) | |
| tree | c0129287cc71cef4a8f44309b6e319a0ccfb2544 /libs/androidfw/StringPool.cpp | |
| parent | 92e6edf5c2af11f9962769fde55119db247ac069 (diff) | |
Set HW toggle states
Propagate HW toggle state from InputManagerService to SensorPrivacyManager.
Enable devices with 2-way (on/off) or 3-way hardware switches (on/mic-only/off)
to control the microphone and camera privacy toggles state and behavior.
Devices map the hardware toggles GPIO to SW_MUTE_DEVICE
and SW_CAMERA_LENS_COVER codes, which are handled by InputFlinger -> InputManagerService.
Test: atest SensorPrivacyServiceMockingTest , Manual
Bug: 191745272
Change-Id: If968a2c2292ab73808e7d5735f156515a6d62e03
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions