Skip notification test on Wear.

Direct reply is not supported on Wear.

BUG: 269715255
Test: atest InputMethodStressTest
Change-Id: I96793414195180cd06a6675f8896e6a79715d1e1
This commit is contained in:
Jinyi Shan
2023-02-28 13:27:37 +08:00
parent 9c3fa97e74
commit f07d0da838

View File

@@ -97,6 +97,8 @@ public final class NotificationTest {
assumeFalse(pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE));
// Do not run on TV. Direct Reply isn't supported on TV.
assumeFalse(pm.hasSystemFeature(PackageManager.FEATURE_LEANBACK_ONLY));
// Do not run on Wear. Direct Reply isn't supported on Wear.
assumeFalse(pm.hasSystemFeature(PackageManager.FEATURE_WATCH));
}
@After