summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHongyi Zhang <hongyiz@google.com>2020-03-31 15:50:07 -0700
committerHongyi Zhang <hongyiz@google.com>2020-04-02 19:25:43 -0700
commitf305f8a9f6381bad717ad97abeefc9fe1e8f2e31 (patch)
tree1270e458bd3420a60155e4326c3392f97e403445 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3dfc45e593326ae43407e8e6fb853ee5c6552228 (diff)
DeviceConfig: Unban all banned namespaces if any banned one unbanned
There are chances that innocent namespaces got banned with actually harmful namespace, and since innocent namespaces' flags may not be changed for a long time, they are getting banned on the devices for a long time even though they are not problematic. Thus we want to do: When a namespace's configuration got successfully updated, unban ALL the banned namespaces(by clearing the hashcode map) if the updated namespace was banned before updated. Bug: 153010388 Test: atest DeviceConfigTest & local device with Mob Dog Change-Id: I61b92a09d77ef1e1b7bc9c86f6655ba62a8a3d89
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions