am 44aacb76: am 539c220d: am 52d70c97: am bcba7c08: am 43ef55c2: Merge "Verify uninstall using "pm list"." into mnc-dev

* commit '44aacb76ea18fd6a31cf330e4618ac837b80e9c1':
  Verify uninstall using "pm list".
diff --git a/hostsidetests/appsecurity/src/com/android/cts/appsecurity/AdoptableHostTest.java b/hostsidetests/appsecurity/src/com/android/cts/appsecurity/AdoptableHostTest.java
index e256f76..76d90cc 100644
--- a/hostsidetests/appsecurity/src/com/android/cts/appsecurity/AdoptableHostTest.java
+++ b/hostsidetests/appsecurity/src/com/android/cts/appsecurity/AdoptableHostTest.java
@@ -272,11 +272,7 @@
             getDevice().uninstallPackage(PKG);
             getDevice().executeShellCommand("sm mount " + vol.volId);
 
-            try {
-                runDeviceTests(PKG, CLASS, "testNothing");
-                fail("Unexpected app not purged from adopted volume");
-            } catch (AssertionError expected) {
-            }
+            assertEmpty(getDevice().executeShellCommand("pm list packages " + PKG));
         } finally {
             cleanUp(diskId);
         }