Do not run NotificationTest on TV.

Fix: 230550325
Test: atest InputMethodStressTest
Change-Id: I52a79356dac2f73a0501a95b865d77812b0dcc2c
This commit is contained in:
Hongguang
2022-04-26 20:18:31 -07:00
committed by Hongguang Chen
parent 4ec2421f55
commit fa49a958c8

View File

@@ -95,6 +95,8 @@ public final class NotificationTest {
PackageManager pm = mContext.getPackageManager();
// Do not run on Automotive.
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));
}
@After