Hi,

Can somebody explain me what is this following error. And what is
expected here?
I am running "android.app.cts.SystemFeaturesTest -- testUsbAccessory
". I am getting following error:
"android.app.cts.SystemFeaturesTest
-- testUsbAccessory fail junit.framework.AssertionFailedError:
PackageManager#hasSystemFeature should return true for
android.hardware.usb.accessory at
android.app.cts.SystemFeaturesTest.assertAvailable(SystemFeaturesTest.java:
363)"

When I saw the code for testUsbAccessory (), it was looking like
below:
 public void testUsbAccessory() {
        assertAvailable(PackageManager.FEATURE_USB_ACCESSORY);
    }

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to