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

Commit e58bb044 authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Limit TYPE_SYSTEM_ERROR to system decor bounds."

parents 7aee681b b816bedf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3229,7 +3229,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
            }
        }

        if ((fl & FLAG_LAYOUT_NO_LIMITS) != 0) {
        // TYPE_SYSTEM_ERROR is above the NavigationBar so it can't be allowed to extend over it.
        if ((fl & FLAG_LAYOUT_NO_LIMITS) != 0 && attrs.type != TYPE_SYSTEM_ERROR) {
            df.left = df.top = of.left = of.top = cf.left = cf.top = vf.left = vf.top = -10000;
            df.right = df.bottom = of.right = of.bottom = cf.right = cf.bottom
                    = vf.right = vf.bottom = 10000;