diff options
author | Alex Florescu <alexflo@google.com> | 2021-03-12 14:58:25 +0000 |
---|---|---|
committer | Alex Florescu <alexflo@google.com> | 2021-03-18 13:40:51 +0000 |
commit | 31eaa2c20ab56f57780076ab4594d069f5e5b38a (patch) | |
tree | f9457b033217ef6bbff7eca0c74157d95610ef39 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ffa06964b1a80e4487bb54cd8b03914d9207e69c (diff) |
Cache value of shouldUseSplitNotificationShade
This only changes when the flag value changes (which can happen at any
time, but is strictly for development so we can ignore) or the value of
the boolean resource changes, which only happens on configuration
changed. Instead of checking every time, we can cache the last known
value and update on configuration changes.
Bug: 182254944
Test: manual + atest SystemUITests
Change-Id: Iae54b7680ebfc84c48139bd21e3c7670739802a5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions