Merge "[RESTRICT AUTOMERGE] Allow bar to be transparent during animating." into qt-qpr1-dev

This commit is contained in:
TreeHugger Robot
2020-03-18 00:44:59 +00:00
committed by Android (Google) Code Review

View File

@@ -164,7 +164,8 @@ public class BarController {
}
boolean isTransparentAllowed(WindowState win) {
return win == null || !win.isLetterboxedOverlappingWith(mContentFrame);
return win == null || mState == StatusBarManager.WINDOW_STATE_HIDING
|| !win.isLetterboxedOverlappingWith(mContentFrame);
}
boolean setBarShowingLw(final boolean show) {