Exempt Watch from testPackageInstallUserRestrictions.
am: 591c82b42c

Change-Id: If8803fcfbbd6dae21e23e9eb0f9aed519d1743a8
diff --git a/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/DeviceAndProfileOwnerTest.java b/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/DeviceAndProfileOwnerTest.java
index 9112f67..7427570 100644
--- a/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/DeviceAndProfileOwnerTest.java
+++ b/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/DeviceAndProfileOwnerTest.java
@@ -456,6 +456,10 @@
         if (!mHasFeature) {
             return;
         }
+        boolean mIsWatch = hasDeviceFeature("android.hardware.type.watch");
+        if (mIsWatch) {
+            return;
+        }
         // UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES
         final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources";
         final String UNKNOWN_SOURCES_SETTING = "install_non_market_apps";