diff options
author | 2018-04-09 12:58:40 -0600 | |
---|---|---|
committer | 2018-04-16 10:29:24 -0600 | |
commit | 7afcb3f98e7342985ba5e62bf6d3a5ac1282e545 (patch) | |
tree | c88a2ffdb3cad1bfcb4fb1d542a94770bb61456f /libs/gui/BufferQueueConsumer.cpp | |
parent | 4610a203244af7dabde0a89792568a03d26d4b36 (diff) |
Protect usage data with OP_GET_USAGE_STATS.
APIs that return package usage data (such as the new StatsManager)
must ensure that callers hold both the PACKAGE_USAGE_STATS permission
and the OP_GET_USAGE_STATS app-op.
Add noteOp() method that can be called from native code.
Also add missing security checks on shell commands.
Bug: 77662908
Test: builds, boots
Change-Id: I15efd6f5dde61e807269b5132a052548ea4e800f
Diffstat (limited to 'libs/gui/BufferQueueConsumer.cpp')
0 files changed, 0 insertions, 0 deletions