summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Brian Stack <bstack@google.com> 2019-05-08 17:02:53 -0700
committer Brian Stack <bstack@google.com> 2019-05-08 17:34:28 -0700
commit6a700f91a915df5f4e15746b4ccde295aec3f9be (patch)
tree6b1e9de5c675d421103c4bbc368d637dd02458dc /opengl/libagl/TextureObjectManager.cpp
parent46b45af96e5916276e1628ca49c44251c93f5eea (diff)
Do not check AppOp if not required
Only check the AppOp if a sensor explicitly requires an AppOp. Otherwise, only check if the client has permission to access the sensor. Bug: 131910349 Test: Verified a_sns_test can access sensors. Test: Verified app targeting Q must have AR permission to access Step Detector and Step Counter. Test: Verified app targeting P with AR permission defined in manifest cannot receive Step Counter or Step Detector events if user revokes AR permission. Test: Verified app targeting P without any permissions defined in the manifest can access Step Counter and Step Detector. Test: Verified app targeting J cannot receive Step Counter or Step Detector events if user revokes AR permission. Change-Id: I3c2dd20889b99bce047025607cc6e921330de52e
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions