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

Commit da3b5589 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

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

parents e3f0e8ae 99debb96
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);
        }
    }