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

Commit 393fccb2 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

Change-Id: Ia5922c2e09c626482523907ad3a4648694460737
parents 4eeddf8e 3b73deaa
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;
    }