+1
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This refactoring will let us have alternative implementations for the state of microphone/camera. It also seperates the storage of the other feature that is known as the "Sensor mute" so that the reuse of this service doesn't get too convoluted. Also extract the persitable state from the state implementation so that alternative implementations can resuse the persistence code. Some smaller changes: * Start the sensor use dailog as user 0 always since system UI requires user 0 * Use SystemClock.elapsedRealTime() instead of network time since it's guaranteed to my monotonic. This will also change that intervals used in telemetry aren't going to measure time the device is powered off. Ignore-AOSP-First: New OWNERS file Test: atest CtsSensorPrivacyTestCases SensorPrivacyServiceMockingTest Bug: 200649586 Change-Id: I4c23c2509d7d1bdf49360fc9bbadb79ccd451dcc