Commit 2ba99ee8 authored by Theresa Wellington's avatar Theresa Wellington Committed by Commit Bot

[Home] Fix another JB svelte toolbar issue

:(

BUG=769611

Change-Id: I6d455b6bba646a27f81f47c4d1058a80778712fd
Reviewed-on: https://chromium-review.googlesource.com/703994Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
Commit-Queue: Theresa <twellington@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506919}
parent 1240ee83
...@@ -886,6 +886,12 @@ public class BottomSheet ...@@ -886,6 +886,12 @@ public class BottomSheet
// A light toolbar theme means the handle should be dark. // A light toolbar theme means the handle should be dark.
mDefaultToolbarView.updateHandleTint(!isLightToolbarTheme); mDefaultToolbarView.updateHandleTint(!isLightToolbarTheme);
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
// A layout is requested so that the toolbar contents don't disappear under certain
// scenarios on Android J. See crbug.com/769611.
mControlContainer.requestLayout();
}
} }
@Override @Override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment