Remove this CTS test.
It is testing an API that is not in the SDK. I want to change the API.
Begone, CTS test!
Change-Id: I807294b4f0b21be947a77c00836cbe2a90ae396f
diff --git a/tests/tests/content/src/android/content/res/cts/ResourcesTest.java b/tests/tests/content/src/android/content/res/cts/ResourcesTest.java
index 1ea5edb..b8f2cb1 100644
--- a/tests/tests/content/src/android/content/res/cts/ResourcesTest.java
+++ b/tests/tests/content/src/android/content/res/cts/ResourcesTest.java
@@ -315,30 +315,6 @@
assertEquals(5.0f, cfgNew.fontScale, 0.001f);
}
- @TestTargets({
- @TestTargetNew(
- level = TestLevel.COMPLETE,
- method = "getDisplayMetrics",
- args = {}
- ),
- @TestTargetNew(
- level = TestLevel.COMPLETE,
- method = "updateSystemConfiguration",
- args = {Configuration.class, DisplayMetrics.class}
- )
- })
- public void testGetDisplayMetrics() {
- final DisplayMetrics dM1 = mResources.getDisplayMetrics();
- dM1.widthPixels = 11;
- dM1.heightPixels = 27;
-
- Resources.updateSystemConfiguration(new Configuration(), dM1);
-
- final DisplayMetrics dM2 = mResources.getDisplayMetrics();
- assertEquals(11, dM2.widthPixels);
- assertEquals(27, dM2.heightPixels);
- }
-
@TestTargetNew(
level = TestLevel.COMPLETE,
method = "getDimensionPixelSize",