summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorQingxi Li <qingxi@google.com>2020-01-08 12:51:49 -0800
committerQingxi Li <qingxi@google.com>2020-02-20 01:02:42 +0000
commit9c5d8b963c04088b2d92525823df6cbd27dfcb92 (patch)
tree26e8c449c90203da6816c9dfdf89feadc5ee547f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3819be4271be3085bc55d5e2665952dcc8a77991 (diff)
Sanitize owner UID iff owning app does not have location permissions.
This change adds permission checking to ensure that the following conditions are enforced in order for apps to receive the owner UID: 1. The app must be the owner of the network 2. The app must hold the FINE_LOCATION permission/appop 3. The user must have their location toggle enabled. Bug: 142072839 Test: atest FrameworksNetTests Change-Id: I7a981a82f1219828ee89c8c96eb9d2efd153377f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions