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

Commit 5da8e74e authored by zhiyuan.hu's avatar zhiyuan.hu Committed by android-build-merger
Browse files

Merge "Use getRealSize instead of getRealSize in DocumentsUI" am: 3b73deaa

am: 393fccb2

Change-Id: I7e3b06e4e20779c419c461615502ce2db1c9823e
parents 7a319f15 393fccb2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ public final class Display {
     */
    public static float screenWidth(Activity activity) {
        Point size = new Point();
        activity.getWindowManager().getDefaultDisplay().getSize(size);
        activity.getWindowManager().getDefaultDisplay().getRealSize(size);
        return size.x;
    }