Merge "Merge "Don't clip background drawable if navigation color view is not opaque" into tm-dev am: b8ab50b68b am: 6ad6a41d46 am: 726e9b34e7" into tm-qpr-dev-plus-aosp

This commit is contained in:
Automerger Merge Worker
2022-05-09 20:11:23 +00:00
committed by Android (Google) Code Review

View File

@@ -1262,7 +1262,7 @@ public class DecorView extends FrameLayout implements RootViewSurfaceTaker, Wind
}
}
if (forceConsumingNavBar && !mDrawLegacyNavigationBarBackgroundHandled) {
if (forceConsumingNavBar && !hideNavigation && !mDrawLegacyNavigationBarBackgroundHandled) {
mBackgroundInsets = Insets.of(mLastLeftInset, 0, mLastRightInset, mLastBottomInset);
} else {
mBackgroundInsets = Insets.NONE;