| Index: chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java
|
| index ede7e626e835e6cc31653b71692edf5e9def8100..19bde1f61102e1f4e35b2f403587c107f3b458d6 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java
|
| @@ -678,6 +678,7 @@ public class BottomSheet
|
| o.onSheetContentChanged(content);
|
| }
|
| updateHandleTint();
|
| + mToolbarHolder.setBackgroundColor(Color.TRANSPARENT);
|
| mContentSwapAnimatorSet = null;
|
| }
|
| });
|
| @@ -688,6 +689,10 @@ public class BottomSheet
|
| animators.add(getViewTransitionAnimator(
|
| content.getContentView(), oldContent, mBottomSheetContentContainer, true));
|
|
|
| + // Temporarily make the background of the toolbar holder a solid color so the transition
|
| + // doesn't appear to show a hole in the toolbar.
|
| + mToolbarHolder.setBackgroundColor(
|
| + ApiCompatibilityUtils.getColor(getResources(), R.color.default_primary_color));
|
| mContentSwapAnimatorSet.playTogether(animators);
|
| mContentSwapAnimatorSet.start();
|
|
|
|
|