diff options
author | Evan Severson <evanseverson@google.com> | 2021-07-29 10:03:14 -0700 |
---|---|---|
committer | Evan Severson <evanseverson@google.com> | 2021-07-29 11:23:43 -0700 |
commit | 6abae2a070588b4840f2711b42102c3af71f2fd4 (patch) | |
tree | b8739b781754429905f692d20ebcf6438c205804 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d5e1458566604caba59366729bdf868597215c2d (diff) |
Check the current user in the system server for SensorPrivacyManager
Instead of querying for the current user application side we can just
pass UserHandle.CURRENT_USER, this eliminates an IPC and the need for
INTERACT_ACCROSS_USERS permission which should not be needed for these
APIs.
Test: CtsSensorPrivacyTestCases
Bug: 194806109
Change-Id: I3a0aed0c403338aaebdfb4e2791a84b4e7e3cb3a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions