diff options
author | wilsonshih <wilsonshih@google.com> | 2020-03-13 16:55:42 +0800 |
---|---|---|
committer | wilsonshih <wilsonshih@google.com> | 2020-03-13 17:11:03 +0800 |
commit | 44f50d484de99b0801649ac052acd46c7be66192 (patch) | |
tree | 3b8fb3ff1e3ce1c774201c37852981c7bcdab8b1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6a1b278be8915a47660c27897a662c51f7051b6a (diff) |
[RESTRICT AUTOMERGE] Allow bar to be transparent during animating.
When top window request fullscreen and device contain a real cutout
and the layoutInDisplayCutout is default or never, a letterbox will
be created for this activity, which cause
BarController#isTransparentAllowed return false so the status bar
cannot be transparent, the bar will shows a black background
during hidding animation.
A simple workaround is to allow the bar can be transparent
during hidding, since the surface of letterbox is not really
overlapped with bar because it's also animating.
Bug: 150048810
Test: No black background shows on status bar when opening
fullscreen app.
Test: atest DisplayPolicyTests
Change-Id: I2dd5b1fbad8e79ec80f799d63bba8824acc6a639
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions