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

Commit eadfb7df authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't change density when forcing screen size"

parents fb476328 fe4ef545
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2483,7 +2483,7 @@ class DisplayContent extends DisplayArea.Root implements WindowManagerPolicy.Dis
        }

        Slog.i(TAG_WM, "Using new display size: " + width + "x" + height);
        updateBaseDisplayMetrics(width, height, width * mBaseDisplayDensity / mBaseDisplayWidth);
        updateBaseDisplayMetrics(width, height, mBaseDisplayDensity);
        reconfigureDisplayLocked();

        if (!mIsSizeForced) {