Merge "Fixed a flakey test" into oc-mr1-dev

This commit is contained in:
TreeHugger Robot
2017-09-08 23:08:45 +00:00
committed by Android (Google) Code Review

View File

@@ -185,7 +185,9 @@ public class NotificationInflaterTest extends SysuiTestCase {
countDownLatch.await();
}
/* Cancelling requires us to be on the UI thread otherwise we might have a race */
@Test
@UiThreadTest
public void testSupersedesExistingTask() throws Exception {
mNotificationInflater.inflateNotificationViews();
mNotificationInflater.setIsLowPriority(true);