summaryrefslogtreecommitdiff
path: root/libs/sensorprivacy/SensorPrivacyManager.cpp
AgeCommit message (Collapse)Author
2021-05-20Add aidl method for removing individual sensor privacy listenerEvan Severson
Since a single listener can be registered for multiple sensors they should be able to be removed individually. Test: Build Bug: 181681375 Change-Id: I6055e89fefe93e0f67c86becccde0259c4d4ea1b
2021-04-20Update mic/camera toggles apiEvan Severson
Also put caching of the toggle support in the SensorPrivacyManager. Test: Use the camera toggle Bug: 181681375 Change-Id: I6f9a7fca500465b297ea87df47c5fdce7fc9d364
2021-02-02Expose errors for some of the SensorPrivacyManager callsEvan Severson
TODO: remove the overload when the call from AudioPolicyService is removed. Test: Build Bug: 162549680 Change-Id: Idfc5079b9fe7802e492d8ed82c0514f2b36875f8
2021-01-07Add individual sensor privacay states to sensor privacy apiEvan Severson
Test: Compile Bug: 162549680 Change-Id: Ie564b5370cc99727709d523b00634c60766d4187
2019-01-03Add DeathRecipient notification to SensorPrivacyManagerMichael Groover
Bug: 110842805 Test: Manually verified SensorPrivacyPolicy was notified when \ system_server was killed. Change-Id: I030d081a9e5d1b309b5449cb0ba900ecfd49f54a
2018-12-14Block access to sensors when Sensor Privacy Mode enabledMichael Groover
Test: manually verified sensor access based on state of sensor privacy mode. Bug: 110842805 Change-Id: I4f2f2496356ff4a407e5c0cd32bc0abcf0c8b48f