androdi 9.0 P版本 CTS 又出现问题了。。

 

arm64-v8a CtsAppTestCases
Test Result Details
android.app.cts.ActivityManagerMemoryClassTest#testGetMemoryClass

fail

java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference

arm64-v8a CtsContentTestCases
Test Result Details
android.content.res.cts.ConfigurationTest#testSetToDefaults

fail

junit.framework.AssertionFailedError: expected:<1.0> but was:<0.85>

arm64-v8a CtsDpiTestCases
Test Result Details
android.dpi.cts.ConfigurationTest#testScreenConfiguration

fail

junit.framework.AssertionFailedError: DisplayMetrics.DENSITY_DEVICE_STABLE must be one of the DisplayMetrics.DENSITY_* values: [160, 320, 480, 640, 260, 420, 360, 300, 240, 400, 560, 340, 213, 120, 280, 440]

arm64-v8a CtsThemeHostTestCases
Test Result Details
android.theme.cts.ThemeHostTest#testThemes

fail

junit.framework.AssertionFailedError: Failed to get resource: /210dpi.zip

修改

diff --git a/device/zte/C61/system.prop b/device/zte/C61/system.prop
index 38bee9c..e7967b3 100755
--- a/device/zte/C61/system.prop
+++ b/device/zte/C61/system.prop
@@ -230,7 +230,8 @@ ro.cw.customized=c.simple_no
 ro.com.google.clientidbase=android-wind
 

-ro.sf.lcd_density=210
+ro.sf.lcd_density=213
+dalvik.vm.heapgrowthlimit=192m
 
 persist.camera.openid=0                #wskyo camera openid 
 
diff --git a/device/zte/products/C61.mk b/device/zte/products/C61.mk
old mode 100644
new mode 100755
index f6f87a2..bbe5680
--- a/device/zte/products/C61.mk
+++ b/device/zte/products/C61.mk
@@ -9,7 +9,7 @@ PRODUCT_MODEL := C61
 PRODUCT_LIST += C61
 TARGET_VENDOR := zte
 
-BUILD_DISPLAY_ID := C61_CNCommon_V1.00
+BUILD_DISPLAY_ID := C61_CNCommon_V3.00
 BUILD_INTERNAL_ID := C61_Z0_CN_LSZOO1JF00J100
 BUILD_DEVICE_DISPLAY := C61
 
diff --git a/frameworks/base/core/java/android/content/res/Configuration.java b/frameworks/base/core/java/android/content/res/Configuration.java
index f6fa972..89fa4a7 100755
--- a/frameworks/base/core/java/android/content/res/Configuration.java
+++ b/frameworks/base/core/java/android/content/res/Configuration.java
@@ -1175,7 +1175,7 @@ public final class Configuration implements Parcelable, Comparable

 

你可能感兴趣的:(Android,Phone,cts)