Fix test: "pm has-feature" returns 1 if not present

This function was broken and causing failures on devices that either
don't have a camera or don't have wifi.

Example:
  usr@machine:~$ adb shell pm has-feature android.hardware.wifi
  true
  usr@machine:~$ echo $?
  0

  usr@machine:~$ adb shell pm has-feature android.hardware.camera.any
  false
  usr@machine:~$ echo $?
  1

Test: atest AdbManagerHostDeviceTest
Bug: 162619753
Change-Id: I0bf37a361344111456b268e3d2b50d9dcc1d0ff1
diff --git a/hostsidetests/adbmanager/src/android/adbmanager/cts/AdbManagerHostDeviceTest.java b/hostsidetests/adbmanager/src/android/adbmanager/cts/AdbManagerHostDeviceTest.java
index 096f3fd..474d518 100644
--- a/hostsidetests/adbmanager/src/android/adbmanager/cts/AdbManagerHostDeviceTest.java
+++ b/hostsidetests/adbmanager/src/android/adbmanager/cts/AdbManagerHostDeviceTest.java
@@ -35,7 +35,6 @@
 
     private boolean hasFeature(String feature) throws Exception {
         CommandResult result = getDevice().executeShellV2Command("pm has-feature " + feature);
-        Assert.assertTrue(new Integer(0).equals(result.getExitCode()));
         return Boolean.parseBoolean(result.getStdout().trim());
     }