commit | f5395a96510a57fc491fe23f945935c53116820f | [log] [tgz] |
---|---|---|
author | Evan Severson <evanseverson@google.com> | Fri Feb 19 15:44:58 2021 -0800 |
committer | Evan Severson <evanseverson@google.com> | Wed Mar 10 13:14:40 2021 -0800 |
tree | 71386cb8a7273269f46a9b6d0c1f9a3ac7aa3f9f | |
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