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

Commit 09bd49a8 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #5328235: Wrong values for smallestScreenWidthDp

Maybe.

Change-Id: I88dfde1626376b3003bdd7a8068c55545255851e
parent fd4d90b8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5723,9 +5723,9 @@ public class WindowManagerService extends IWindowManager.Stub
            unrotDh = dh;
        }
        int sw = reduceConfigWidthSize(unrotDw, Surface.ROTATION_0, density, unrotDw, unrotDh);
        sw = reduceConfigWidthSize(sw, Surface.ROTATION_90, density, unrotDw, unrotDh);
        sw = reduceConfigWidthSize(sw, Surface.ROTATION_90, density, unrotDh, unrotDw);
        sw = reduceConfigWidthSize(sw, Surface.ROTATION_180, density, unrotDw, unrotDh);
        sw = reduceConfigWidthSize(sw, Surface.ROTATION_270, density, unrotDw, unrotDh);
        sw = reduceConfigWidthSize(sw, Surface.ROTATION_270, density, unrotDh, unrotDw);
        return sw;
    }