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

am: e501718337

Change-Id: Ie634dcd4fc79945447987126755c94a6fd7c2233
This commit is contained in:
Selim Cinek
2017-09-09 00:54:30 +00:00
committed by android-build-merger

View File

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