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

Commit 6d1575fc authored by Karthik Ravi Shankar's avatar Karthik Ravi Shankar
Browse files

Fix the VR virtual display height



The display of the VR virtual display was set incorrectly in ag/2460110.
This was a part of debugging code mistakenly left behind, but it is
causing CTS tests to fail and also changes the resolution of virtual
display on standalone devices.

Bug: 62842592
Bug: 63339799
Test: run cts -m CtsServicesHostTestCases -t
android.server.cts.ActivityManagerDisplayTests#testVrActivityLaunch
passes with the change and restores original resolution on standalone
devices.

Change-Id: I6e77f9b3b09f02e411bab12bb69d8141312e5b64
Signed-off-by: default avatarKarthik Ravi Shankar <karthikrs@google.com>
parent 25937550
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ class Vr2dDisplay {
    /**
     * The default height of the VR virtual display
     */
    public static final int DEFAULT_VIRTUAL_DISPLAY_HEIGHT = 1400;
    public static final int DEFAULT_VIRTUAL_DISPLAY_HEIGHT = 1800;

    /**
     * The default height of the VR virtual dpi.