Fix an issue that the sensor privacy does not apply to the new camera clients
The sensor privacy (Sensors Off tile) does not apply to the new camera clients because the 'SensorPrivacyPolicy' in the 'CameraService' mixes API usage for the camera privacy and the sensor privacy which are 'isToggleSensorPrivacyEnabled' and 'isSensorPrivacyEnabled' respectively. This patch will use the 'enabled' value to fix the issue. Bug: 257426686 Test: manual test with 'Sensors Off' tile is enabled. Change-Id: I23bc621afe7895863665c84518ed0cafe9356bf9
Loading
Please register or sign in to comment