Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee1edaef authored by Tiger Huang's avatar Tiger Huang Committed by Android (Google) Code Review
Browse files

Merge "Let notification shade draw navigation bar background" into udc-qpr-dev

parents 6bd61266 8df354e6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2530,7 +2530,10 @@ public class DisplayPolicy {
                mNavBarBackgroundWindowCandidate,
                mDisplayContent.mInputMethodWindow,
                mNavigationBarPosition);
        final boolean drawBackground = navBackgroundWin != null;
        final boolean drawBackground = navBackgroundWin != null
                // There is no app window showing underneath nav bar. (e.g., The screen is locked.)
                // Let system windows (ex: notification shade) draw nav bar background.
                || mNavBarBackgroundWindowCandidate == null;

        if (mNavBarOpacityMode == NAV_BAR_FORCE_TRANSPARENT) {
            if (drawBackground) {