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

Skip to content
Commit e3af299f authored by Kwangkyu Park's avatar Kwangkyu Park
Browse files

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
parent 80cd30ae
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