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

Skip to content
Commit db0a9431 authored by Robert Horvath's avatar Robert Horvath Committed by Iavor-Valentin Iftime
Browse files

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
parent fdf11ed6
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