Merge "Make sure system bars have visible background while force-showing" into tm-qpr-dev am: b11f679d66
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19193687 Change-Id: Icbf6a52c98e8f0f6245594daee7f0502698d46f2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1440,8 +1440,9 @@ public class DecorView extends FrameLayout implements RootViewSurfaceTaker, Wind
|
||||
int size, boolean verticalBar, boolean seascape, int sideMargin, boolean animate,
|
||||
boolean force, WindowInsetsController controller) {
|
||||
state.present = state.attributes.isPresent(
|
||||
controller.isRequestedVisible(state.attributes.insetsType),
|
||||
mWindow.getAttributes().flags, force);
|
||||
(controller.isRequestedVisible(state.attributes.insetsType)
|
||||
|| mLastShouldAlwaysConsumeSystemBars),
|
||||
mWindow.getAttributes().flags, force);
|
||||
boolean show = state.attributes.isVisible(state.present, color,
|
||||
mWindow.getAttributes().flags, force);
|
||||
boolean showView = show && !isResizing() && !mHasCaption && size > 0;
|
||||
|
||||
Reference in New Issue
Block a user