Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd6f923d authored by Julia Reynolds's avatar Julia Reynolds Committed by Android Build Coastguard Worker
Browse files

Fix build issues after cherrypick in NMSTest

Test: NotificationManagerServiceTest
Bug: 396667508
Flag: EXEMPT TEST_ONLY
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:bb6630d70004a217a93b85fe0b3ca6f6dbad5636
Merged-In: If068cf62b4084c388a567a964b535beb0b95ab96
Change-Id: If068cf62b4084c388a567a964b535beb0b95ab96
parent 51368785
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -11176,7 +11176,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase {
        mBinderService.addAutomaticZenRule(rule, "com.android.settings", false);
        // verify that zen mode helper gets passed in a package name of "android"
        verify(mockZenModeHelper).addAutomaticZenRule(any(), eq("android"), eq(rule),
        verify(zenModeHelper).addAutomaticZenRule(any(), eq("android"), eq(rule),
                eq(ZenModeConfig.ORIGIN_SYSTEM), anyString(), anyInt());
    }
@@ -11218,7 +11218,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase {
        mBinderService.addAutomaticZenRule(rule, "another.package", false);
        // verify that zen mode helper gets passed in the package name from the arg, not the owner
        verify(mockZenModeHelper).addAutomaticZenRule(any(), eq("another.package"), eq(rule),
        verify(zenModeHelper).addAutomaticZenRule(any(), eq("another.package"), eq(rule),
                eq(ZenModeConfig.ORIGIN_APP), anyString(),
                anyInt());  // doesn't count as a system/systemui call
    }
@@ -16976,7 +16976,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase {
        mBinderService.getNotificationPolicy("package");
        verify(zenHelper).getNotificationPolicyFromImplicitZenRule(any(), eq("package"));
        verify(zenModeHelper).getNotificationPolicyFromImplicitZenRule(any(), eq("package"));
    }
    @Test
@@ -16990,7 +16990,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase {
        mBinderService.setInterruptionFilter("package", INTERRUPTION_FILTER_PRIORITY, false);
        verify(zenHelper).applyGlobalZenModeAsImplicitZenRule(any(), eq("package"), anyInt(),
        verify(zenModeHelper).applyGlobalZenModeAsImplicitZenRule(any(), eq("package"), anyInt(),
                eq(ZEN_MODE_IMPORTANT_INTERRUPTIONS));
    }