Don't Require Touch Screen Feature
Bug 5104638
Change-Id: I659798d08bfb5b1d9d98d38dea54acafc75a1960
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/features/FeatureSummaryActivity.java b/apps/CtsVerifier/src/com/android/cts/verifier/features/FeatureSummaryActivity.java
index 4ffa1e6..35b26aa 100644
--- a/apps/CtsVerifier/src/com/android/cts/verifier/features/FeatureSummaryActivity.java
+++ b/apps/CtsVerifier/src/com/android/cts/verifier/features/FeatureSummaryActivity.java
@@ -95,9 +95,6 @@
}
}
- /**
- * A list of all features added in Eclair (API=7).
- */
public static final Feature[] ALL_ECLAIR_FEATURES = {
new Feature(PackageManager.FEATURE_CAMERA, true),
new Feature(PackageManager.FEATURE_CAMERA_AUTOFOCUS, false),
@@ -110,15 +107,6 @@
new Feature(PackageManager.FEATURE_TELEPHONY_GSM, false),
};
- /**
- * A list of all features added in FroYo (API=8) and Gingerbread (API=9).
- * Because we want to run on Eclair devices,
- * we can't use static references to constants added later
- * than Eclair. We could use Reflection, but we'd still need a list of
- * string literals (for constant names) anyway, and there's little point in
- * using Reflection to to look up a constant String value for a constant
- * String name.
- */
public static final Feature[] ALL_FROYO_FEATURES = {
new Feature("android.hardware.bluetooth", true),
new Feature("android.hardware.location", true),
@@ -158,6 +146,9 @@
};
public static final Feature[] ALL_HONEYCOMB_FEATURES = {
+ // Required features in prior releases that became optional in HC
+ new Feature("android.hardware.touchscreen", false),
+
new Feature("android.hardware.faketouch", true),
};