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

Commit 8c1ee9d8 authored by Filip Gruszczynski's avatar Filip Gruszczynski
Browse files

Use full display size for calculating volume dialog size.

Bug: 26485500
Change-Id: I25ef29a3d611617b4dc59a315b072fafb3f3f825
parent b5f07f86
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1488,7 +1488,8 @@ public final class ViewRootImpl implements ViewParent,
                if ((lp.width == ViewGroup.LayoutParams.WRAP_CONTENT
                        || lp.height == ViewGroup.LayoutParams.WRAP_CONTENT)
                        && (lp.type == WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL
                                || lp.type == WindowManager.LayoutParams.TYPE_INPUT_METHOD)) {
                                || lp.type == WindowManager.LayoutParams.TYPE_INPUT_METHOD
                                || lp.type == WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY)) {
                    windowSizeMayChange = true;
                    // NOTE -- system code, won't try to do compat mode.
                    Point size = new Point();