diff options
author | Evan Severson <evanseverson@google.com> | 2021-02-19 15:44:58 -0800 |
---|---|---|
committer | Evan Severson <evanseverson@google.com> | 2021-03-10 13:14:40 -0800 |
commit | f5395a96510a57fc491fe23f945935c53116820f (patch) | |
tree | 71386cb8a7273269f46a9b6d0c1f9a3ac7aa3f9f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 56547bfd283d8d26c129a43b1db8ff4e5af457f8 (diff) |
Set user restriction when mic/camera toggles are used
The user restriction will result in the app op returning MODE_IGNORED so
the providers know that they shouldn't deliver mic/camera data.
The camera service needs to check the state of the toggle directly on
app op change so it knows that the ignore was a result of the toggle.
TODO: don't allow this restriction to be bypassed
Bug: 162549680
Test: Use the features
Change-Id: Ia944059f7c217b50ae016de62a25a067fe21878a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions