Merge "Fixed a flakey test" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e501718337
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user