am e6e19944: am a18e1fce: Merge "Modify the testcase in 64-bit device & lower density field" into lollipop-mr1-cts-dev
* commit 'e6e1994434ff3fdfc067dbddc69caac434b688f1':
Modify the testcase in 64-bit device & lower density field
diff --git a/tests/tests/hardware/src/android/hardware/cts/LowRamDeviceTest.java b/tests/tests/hardware/src/android/hardware/cts/LowRamDeviceTest.java
index 0a0607d..18796d4 100755
--- a/tests/tests/hardware/src/android/hardware/cts/LowRamDeviceTest.java
+++ b/tests/tests/hardware/src/android/hardware/cts/LowRamDeviceTest.java
@@ -92,8 +92,11 @@
lessThanDpi(density, DENSITY_MEDIUM, screenSize, SCREENLAYOUT_SIZE_LARGE) ||
lessThanDpi(density, DENSITY_LOW, screenSize, SCREENLAYOUT_SIZE_XLARGE)) {
- assertFalse("Device is not expected to be 64-bit", supports64Bit);
- assertMinMemoryMb(424);
+ if (supports64Bit) {
+ assertMinMemoryMb(704);
+ } else {
+ assertMinMemoryMb(424);
+ }
} else if (greaterThanDpi(density, DENSITY_XHIGH, screenSize,
SCREENLAYOUT_SIZE_NORMAL, SCREENLAYOUT_SIZE_SMALL) ||
greaterThanDpi(density, DENSITY_TV, screenSize, SCREENLAYOUT_SIZE_LARGE) ||