Updating the card size logic

In full screen always follow the device aspect ratio
In multi-window, follow the 1:1 split window size
Rotate the screen shot only in full-screen mode

Bug: 70289009
Change-Id: Id5095565634d4d7920fefa929b28276db80bda5f
This commit is contained in:
Sunny Goyal committed 2018-04-06 11:29:32 -07:00
1 parent 80be805996
commit d792a77234
9 files changed
+189 -191

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ public class DeviceProfile {
public final boolean transposeLayoutWithOrientation;
// Device properties in current orientation
private final boolean isLandscape;
public final boolean isLandscape;
public final boolean isMultiWindowMode;
public final int widthPx;