summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLee Shombert <shombert@google.com>2020-01-29 10:00:22 -0800
committerLee Shombert <shombert@google.com>2020-02-02 17:48:43 +0000
commit89608118192580ffca026b5dacafa637a556d578 (patch)
tree9218adda52ddde565568253d7756512e05644d19 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd8bef18e1c4a8433dac615a8b4d63f95703ebd74 (diff)
Clean up hasSystemFeature binder cache
Bug: 140788621 This is a non-functional clean-up. 1. Rename the classes and methods used by the binder cache so that everything public is based off of the binder name "hasSystemFeature". 2. Modified the hashCode() method to conform to the comments in cl/9965760 3. Moved hasSystemFeatureUnchached() logic into the cache recompute() method. 4. Made the cache static so that there is on per process. The recompute() method uses the binder handle from ActivityThread, which is the same handle that is passed to all other classes. This change does not include the Java 8-incompatible syntax. Test: Built a debug image and ran one iteration of MPTS. Verified that no errors were seen. Change-Id: I67b1cd3a151f4dc037c35f93f341a5de3e023941
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions