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

Commit 99debb96 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Let non-fill-screen app window control nav bar appearance" into udc-dev

parents c3b80dc7 75dd944a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1530,6 +1530,11 @@ public class DisplayPolicy {
            if (isOverlappingWithNavBar(win) && mNavBarColorWindowCandidate == null) {
                mNavBarColorWindowCandidate = win;
            }
        } else if (appWindow && attached == null && mNavBarColorWindowCandidate == null
                && win.getFrame().contains(
                        getBarContentFrameForWindow(win, Type.navigationBars()))) {
            mNavBarColorWindowCandidate = win;
            addSystemBarColorApp(win);
        }
    }