summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Robert Horvath <robhor@google.com> 2022-03-10 18:06:34 +0100
committer Iavor-Valentin Iftime <valiiftime@google.com> 2022-03-28 18:53:52 +0000
commitdb0a9431dc41ea2cd5b7a245c3a85f3169c2f178 (patch)
treebf9b041506135b6897614c99f6350a2d94034918 /libs/input/PointerController.cpp
parentfdf11ed6f1da4ad540bae3fecfb11dc5eb6d75b4 (diff)
Add support for HW privacy toggles in sensor unblock dialog
- Adapt strings for when HW toggle is blocking sensor access - Use hw-toggle specific resource names that can be overlayed by OEMs to provide device-specific guidance (strings, icons) - Call #onSensorBlockedChanged when going from blocked by SW toggle to blocked by HW toggle (still blocked, but for a different reason) to update UI - Change action button to open corresponding sensor privacy Settings page if blocked by HW toggle. Open mic settings if both mic & camera are blocked, since assuming a 3-way-switch (unblocked -> mic blocked -> mic & camera blocked) unblocking mic will also unblock the camera. Bug: 220717475 Test: manually, on device with physical mic toggle Change-Id: I64e37f29e73fb48d1d53a35a4ff72d5a77c6a6bc
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions