Use smaller display size for secondary display test. (DO NOT MERGE)

Some devices might not have enough storage to allocate a large frame
buffer.  Fortunately we don't care how big it is for this test
as long as we can distinguish the secondary display from the primary
display by its properties.

Bug: 19502687
Change-Id: I094b7dbf8650df5bce04ab37a4e32f2be9b20923
diff --git a/tests/tests/display/src/android/display/cts/DisplayTest.java b/tests/tests/display/src/android/display/cts/DisplayTest.java
index 4c7116d..bea99ed 100644
--- a/tests/tests/display/src/android/display/cts/DisplayTest.java
+++ b/tests/tests/display/src/android/display/cts/DisplayTest.java
@@ -28,10 +28,11 @@
 public class DisplayTest extends AndroidTestCase {
     // This test is called from DisplayTestRunner which brings up an overlay display on the target
     // device. The overlay display parameters must match the ones defined there which are
-    // 1281x721/214 (wxh/dpi).
+    // 181x161/214 (wxh/dpi).  It only matters that these values are different from any real
+    // display.
 
-    private static final int SECONDARY_DISPLAY_WIDTH = 1281;
-    private static final int SECONDARY_DISPLAY_HEIGHT = 721;
+    private static final int SECONDARY_DISPLAY_WIDTH = 181;
+    private static final int SECONDARY_DISPLAY_HEIGHT = 161;
     private static final int SECONDARY_DISPLAY_DPI = 214;
     private static final float SCALE_DENSITY_LOWER_BOUND =
             (float)(SECONDARY_DISPLAY_DPI - 1) / DisplayMetrics.DENSITY_DEFAULT;
diff --git a/tools/tradefed-host/src/com/android/cts/tradefed/testtype/DisplayTestRunner.java b/tools/tradefed-host/src/com/android/cts/tradefed/testtype/DisplayTestRunner.java
index 59bfcf8..3dee99e 100644
--- a/tools/tradefed-host/src/com/android/cts/tradefed/testtype/DisplayTestRunner.java
+++ b/tools/tradefed-host/src/com/android/cts/tradefed/testtype/DisplayTestRunner.java
@@ -29,7 +29,7 @@
     private static final String OVERLAY_DISPLAY_DEVICES_SETTING_NAME = "overlay_display_devices";
 
     // Use a non-standard pattern, must match values in tests/tests/display/.../DisplayTest.java
-    private static final String OVERLAY_DISPLAY_DEVICES_SETTING_VALUE = "1281x721/214";
+    private static final String OVERLAY_DISPLAY_DEVICES_SETTING_VALUE = "181x161/214";
 
     @Override
     public void run(ITestInvocationListener listener) throws DeviceNotAvailableException {