summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Leandro Gracia Gil <leandrogracia@google.com> 2017-01-27 18:14:42 -0800
committer Alex Vakulenko <avakulenko@google.com> 2017-02-10 16:42:17 -0800
commit4766e2a776386489667e792f9c7d8c71131b78c1 (patch)
treeec4579156ed9c4f49248553762c6dd44ff7e658f /libs/gui/ConsumerBase.cpp
parent748a163bf020d9eb53ce610fad90241fc52940af (diff)
Introduce an API to verify trusted caller apps by UID.
This CL introduces a new function to make sure only trusted packages like VrCore can make use of APIs that are not intended for app use. As a first example, this CL introduces a caller check for taking screenshots, although any sensitive APIs should implement similar checks. Package trust is defined by having the RESTRICTED_VR_ACCESS permission. Bug: 34474022 Change-Id: Ib5a242d1a4e17f59b178fb1465064043613ac369
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions