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

Skip to content
Commit a22b8c61 authored by Eric Laurent's avatar Eric Laurent Committed by Android Build Coastguard Worker
Browse files

audio policy: fix sensor privacy listener

Current way of registering to the sensor privacy listener works
only when disabling sensors from the developer settings.
This CL also registers a listener for when the mic privacy toggle
is used.
This change is temporary until problems around app ops start/stop
notifications from audio framework are sorted out and we can rely
on app ops to silence audio when the mic privacy toggle is used.

Test: make
Bug: 258021433
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:60aa4d06161f40e9f18c44caf0fc057b86deceb9)
Merged-In: I1178a15583596cd025d5cb1e424f9fe3bf7854b4
Change-Id: I1178a15583596cd025d5cb1e424f9fe3bf7854b4
parent 1b9382c3
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