summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEvan Severson <evanseverson@google.com>2021-07-29 10:03:14 -0700
committerEvan Severson <evanseverson@google.com>2021-07-29 11:23:43 -0700
commit6abae2a070588b4840f2711b42102c3af71f2fd4 (patch)
treeb8739b781754429905f692d20ebcf6438c205804 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd5e1458566604caba59366729bdf868597215c2d (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_test.cpp')
0 files changed, 0 insertions, 0 deletions