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

Commit 374abe11 authored by Filip Gruszczynski's avatar Filip Gruszczynski Committed by Android (Google) Code Review
Browse files

Merge "Fix dock divider going under application windows."

parents 7ed9df29 e9512dfc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1153,7 +1153,9 @@ public class WindowManagerService extends IWindowManager.Stub
        int i;
        for (i = windows.size() - 1; i >= 0; --i) {
            WindowState w = windows.get(i);
            if (w.mBaseLayer <= myLayer) {
            // Dock divider shares the base layer with application windows, but we want to always
            // keep it above the application windows.
            if (w.mBaseLayer <= myLayer && w.mAttrs.type != TYPE_DOCK_DIVIDER) {
                break;
            }
        }