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
Loading
Please register or sign in to comment