summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLee Shombert <shombert@google.com>2020-01-24 16:04:00 -0800
committerLee Shombert <shombert@google.com>2020-01-30 10:53:16 -0800
commit2f529c13accbb595d7dd9b4722439993ecdb56ff (patch)
tree121b625e2ef42f1083689c23e066444aee18a18a /tools/aapt2/java/JavaClassGenerator.cpp
parentbe1592efdae30869e318b7df9643b9bab5ed758e (diff)
Enhance PropertyInvalidatedCache debug
Bug: 140788621 Add the cache name to most debug messages. The cache name defaults to the property name but can be overridden. Overriding the cache name makes the most sense when multiple caches share a single proprerty. This function is only called from inside debug log messages. Wrap the default invocation of Query.toString() with a cache instance method that can be overridden. A cache that uses a simple type (like Integer) for its Query to provide nicely formatted query strings in the debug logs. This function is only called from inside debug log messages. Test: Created a test build using the hasSystemFeature() binder cache, overriding cache name and the object query string. Change-Id: If379ac3e8494e9fef0ff9f5cc5ca0412d02e5502
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions