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

Commit a71995dd authored by Yunfan Chen's avatar Yunfan Chen Committed by Automerger Merge Worker
Browse files

Merge "Fix display size calculations in large screen (2/3)" into tm-qpr-dev am: 13255a0a

parents ca26ac91 13255a0a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -380,7 +380,7 @@ public class UiDevice {
        Tracer.trace();
        Display display = getAutomatorBridge().getDefaultDisplay();
        Point p = new Point();
        display.getSize(p);
        display.getRealSize(p);
        return p.x;
    }

@@ -394,7 +394,7 @@ public class UiDevice {
        Tracer.trace();
        Display display = getAutomatorBridge().getDefaultDisplay();
        Point p = new Point();
        display.getSize(p);
        display.getRealSize(p);
        return p.y;
    }