From f07d0da838b4901d2698b754d6aced12b7b0a0ff Mon Sep 17 00:00:00 2001 From: Jinyi Shan Date: Tue, 28 Feb 2023 13:27:37 +0800 Subject: [PATCH] Skip notification test on Wear. Direct reply is not supported on Wear. BUG: 269715255 Test: atest InputMethodStressTest Change-Id: I96793414195180cd06a6675f8896e6a79715d1e1 --- .../com/android/inputmethod/stresstest/NotificationTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/NotificationTest.java b/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/NotificationTest.java index 573b3b695a906..55b39384e0a7b 100644 --- a/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/NotificationTest.java +++ b/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/NotificationTest.java @@ -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