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

Commit 9293e682 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

am: 5da8e74e

Change-Id: I87683ec09ce5a76372ea3ed793f47671472be21a
parents 62d47764 5da8e74e
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;
    }