Merge "[wm] Fix smallestScreenWidthDp configuration on non default display (1/2)" into qt-dev
am: 604e253c9e
Change-Id: Ib5a6b65475f432266942c0389a491d28d6548828
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user