From 6d1575fc24986d1ee13f682e75175e4540ebe999 Mon Sep 17 00:00:00 2001 From: Karthik Ravi Shankar Date: Thu, 6 Jul 2017 10:23:57 -0700 Subject: 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: Karthik Ravi Shankar --- services/core/java/com/android/server/vr/Vr2dDisplay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/vr/Vr2dDisplay.java b/services/core/java/com/android/server/vr/Vr2dDisplay.java index b1c1df14feeb..69d8ca68522f 100644 --- a/services/core/java/com/android/server/vr/Vr2dDisplay.java +++ b/services/core/java/com/android/server/vr/Vr2dDisplay.java @@ -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. -- cgit v1.2.3-59-g8ed1b