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

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

Merge "Use full display size for calculating volume dialog size."

parents 674633ee 8c1ee9d8
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();