diff options
author | Jacqueline Bronger <bronger@google.com> | 2021-05-17 08:55:28 +0000 |
---|---|---|
committer | Jacqueline Bronger <bronger@google.com> | 2021-06-17 12:30:11 +0000 |
commit | 536a5f789fc8f34df9264c568a825232b7829c7a (patch) | |
tree | af76b9517ba59309304bec73e473fae51698921f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 2463594fdd27fa3bef21b3309db30a9706a11dba (diff) |
Show a bottom sheet when the mic/camera is blocked
On mobile a normal dialog is shown when a sensor is blocked by the
global toggle.
Bug: 186720017
Test: manual
For one sensor and both sensors together:
1) Block sensor(s) in settings or with 'adb shell cmd sensor_privacy enable 0 microphone' (/camera)
2) open the Duo app
3) Try to access blocked sensor(s): 'adb shell appops start
com.google.android.apps.tachyon 27' (/26)
4) Sensor(s) should be unblocked if 'unblock' is selected or remain
blocked if cancelled (check in settings or 'adb shell dumpsys sensor_prvacy' where disabled means unblocked or privacy indicator will show up)
Change-Id: I69fb67478460d05acf6b1d570705dc4f73ca8d1e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions