Merge "Make sure system bars have visible background while force-showing" into tm-qpr-dev
This commit is contained in:
@@ -1440,7 +1440,8 @@ public class DecorView extends FrameLayout implements RootViewSurfaceTaker, Wind
|
|||||||
int size, boolean verticalBar, boolean seascape, int sideMargin, boolean animate,
|
int size, boolean verticalBar, boolean seascape, int sideMargin, boolean animate,
|
||||||
boolean force, WindowInsetsController controller) {
|
boolean force, WindowInsetsController controller) {
|
||||||
state.present = state.attributes.isPresent(
|
state.present = state.attributes.isPresent(
|
||||||
controller.isRequestedVisible(state.attributes.insetsType),
|
(controller.isRequestedVisible(state.attributes.insetsType)
|
||||||
|
|| mLastShouldAlwaysConsumeSystemBars),
|
||||||
mWindow.getAttributes().flags, force);
|
mWindow.getAttributes().flags, force);
|
||||||
boolean show = state.attributes.isVisible(state.present, color,
|
boolean show = state.attributes.isVisible(state.present, color,
|
||||||
mWindow.getAttributes().flags, force);
|
mWindow.getAttributes().flags, force);
|
||||||
|
|||||||
Reference in New Issue
Block a user