Merge "Do not run NotificationTest on TV." into tm-dev

This commit is contained in:
TreeHugger Robot
2022-04-27 21:43:54 +00:00
committed by Android (Google) Code Review

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