Add HC MR1 Features to CTS Verifier
Change-Id: If651706c9ed0aaee1d714f30863fafacb894e7d7
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 8543890..a9fd515 100644
--- a/apps/CtsVerifier/src/com/android/cts/verifier/features/FeatureSummaryActivity.java
+++ b/apps/CtsVerifier/src/com/android/cts/verifier/features/FeatureSummaryActivity.java
@@ -129,6 +129,11 @@
new Feature("android.hardware.faketouch", true),
};
+ public static final Feature[] ALL_HONEYCOMB_MR1_FEATURES = {
+ new Feature("android.hardware.usb.host", false),
+ new Feature("android.hardware.usb.accessory", false),
+ };
+
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
@@ -169,6 +174,9 @@
if (apiVersion >= Build.VERSION_CODES.HONEYCOMB) {
Collections.addAll(features, ALL_HONEYCOMB_FEATURES);
}
+ if (apiVersion >= Build.VERSION_CODES.HONEYCOMB_MR1) {
+ Collections.addAll(features, ALL_HONEYCOMB_MR1_FEATURES);
+ }
for (Feature f : features) {
HashMap<String, Object> row = new HashMap<String, Object>();
listViewData.add(row);