summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBeverly <beverlyt@google.com>2020-06-26 13:00:21 -0400
committerBeverly <beverlyt@google.com>2020-06-26 14:38:57 -0400
commite3492b34078c96c8a71b2073e7312b5ca33dc1a0 (patch)
treed7d132c6c58b375398597ff4cb56e20923742be9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5a64c855d11929bd3a2a1380e0988970826e166b (diff)
StatusBar icons are GONE when status bar is hidden
Explicitly disable status bar icons when the status bar isn't in view. This is to ensure the status bar won't unnecessarily make calls to draw. Also consolidates status bar disabling logic to CollpasedStatusBarFragment (removed from BatteryMeterView + StatusBarIconController). Test: manual test that battery icon updates don't redraw when the status bar isn't visible to the user in fullscreen/immersive modes 1. Enable Developer Option "Show surface updates" 2. Open fullscreen app 3. adb shell cmd battery unplug/reset Observe: status bar doesn't redraw Test: manually open a hierarchy viewer when the status bar is hidden in a fullscreen/immersive app. observe the icons are GONE Fixes: 120483410 Change-Id: I182559199b0a1f01122f0163836b7e2824f2acba
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions