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

Commit cad94f96 authored by GyeHun Jeon's avatar GyeHun Jeon Committed by android-build-merger
Browse files

Merge "[wm] Fix smallestScreenWidthDp configuration on non default display...

Merge "[wm] Fix smallestScreenWidthDp configuration on non default display (1/2)" into qt-dev am: 604e253c
am: 9f74f301

Change-Id: I59c8aa915a3f362ecff4f38eaff0e5a5a956bd15
parents 870d110e 9f74f301
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ public class ResourcesManager {
            config.screenLayout = Configuration.reduceScreenLayout(sl,
                    config.screenHeightDp, config.screenWidthDp);
        }
        config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate
        config.smallestScreenWidthDp = Math.min(config.screenWidthDp, config.screenHeightDp);
        config.compatScreenWidthDp = config.screenWidthDp;
        config.compatScreenHeightDp = config.screenHeightDp;
        config.compatSmallestScreenWidthDp = config.smallestScreenWidthDp;