summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Josh Tsuji <tsuji@google.com> 2022-11-03 14:54:28 -0400
committer Josh Tsuji <tsuji@google.com> 2022-11-17 18:31:51 +0000
commit0abf06dcfb70f34f12fb3ca3d0dc432a770a5e7a (patch)
tree5b3cdb26cb46ae910608e3bd393c2a81aa9900ca /libs/androidfw/AttributeResolution.cpp
parentd2cb23038f48536f96c04466a8567c52758d611e (diff)
Keep status bar icons hidden during camera launch.
Before: https://drive.google.com/file/d/1FmJFP8ZZ0J6r0DWnfD9HR5JeWVEizHI_/view?usp=share_link After: https://drive.google.com/file/d/1U743mR-0ZzzJxK-rDOl2rZiFdEio9EDg/view?usp=share_link This has been a long standing issue with camera launch that looks pretty bad. When we start occluding, the status bar icons are shown, only be to be hidden shortly after the animation ends when we receive a callback from WM that the top app hides the status bar. This was an unexpectedly difficult fix as there's a brief period between the launch animation ending and System UI receiving a call that the top app wants to hide the status bar, where there is no existing state that can tell us that we should be hiding the icons. A similar case is currently handled in StatusBarHideIconsForBouncerManager by posting a callback delayed to not hide/show icons within 500ms, but that's not particularly robust. Fixes: 257292822 Test: manually launch camera Test: atest CollapsedStatusBarFragmentTest Change-Id: Ib54917b4e65529a2fd809eb67159d57d64e8097f
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions