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
Loading
Please register or sign in to comment