diff options
| -rw-r--r-- | services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java b/services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java index eab5ce3cee2f..9d92d5fe4f60 100644 --- a/services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java +++ b/services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java @@ -1554,6 +1554,7 @@ public class BroadcastQueueTest extends BaseBroadcastQueueTest { * Verify that when dispatching we respect tranches of priority. */ @DisableFlags(Flags.FLAG_LIMIT_PRIORITY_SCOPE) + @SuppressWarnings("DistinctVarargsChecker") @Test public void testPriority_flagDisabled() throws Exception { final ProcessRecord callerApp = makeActiveProcessRecord(PACKAGE_RED); @@ -1600,6 +1601,7 @@ public class BroadcastQueueTest extends BaseBroadcastQueueTest { /** * Verify that when dispatching we respect tranches of priority. */ + @SuppressWarnings("DistinctVarargsChecker") @Test public void testOrdered_withPriorities() throws Exception { final ProcessRecord callerApp = makeActiveProcessRecord(PACKAGE_RED); @@ -1649,6 +1651,7 @@ public class BroadcastQueueTest extends BaseBroadcastQueueTest { * Verify that when dispatching we respect tranches of priority. */ @EnableFlags(Flags.FLAG_LIMIT_PRIORITY_SCOPE) + @SuppressWarnings("DistinctVarargsChecker") @Test public void testPriority_changeIdDisabled() throws Exception { final ProcessRecord callerApp = makeActiveProcessRecord(PACKAGE_RED); |