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

Commit cd37e63f authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Update flag clause to match what the code uses

Change-Id: Ief55a298ebe37e28c17cf8c558bf27de2ad59589
Test: NotificationAssistantsTest
Fixes: 393020092
Flag: EXEMPT bugfix
parent 5fe602b3
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -679,7 +679,7 @@ public class NotificationAssistantsTest extends UiServiceTestCase {
    }
    }


    @Test
    @Test
    @EnableFlags(android.service.notification.Flags.FLAG_NOTIFICATION_CLASSIFICATION)
    @EnableFlags(Flags.FLAG_NOTIFICATION_CLASSIFICATION_UI)
    public void testDisallowAdjustmentType_readWriteXml_entries() throws Exception {
    public void testDisallowAdjustmentType_readWriteXml_entries() throws Exception {
        int userId = ActivityManager.getCurrentUser();
        int userId = ActivityManager.getCurrentUser();


@@ -724,7 +724,7 @@ public class NotificationAssistantsTest extends UiServiceTestCase {
    }
    }


    @Test
    @Test
    @EnableFlags(android.service.notification.Flags.FLAG_NOTIFICATION_CLASSIFICATION)
    @EnableFlags(Flags.FLAG_NOTIFICATION_CLASSIFICATION_UI)
    public void testDisallowAdjustmentKeyType_readWriteXml() throws Exception {
    public void testDisallowAdjustmentKeyType_readWriteXml() throws Exception {
        mAssistants.loadDefaultsFromConfig(true);
        mAssistants.loadDefaultsFromConfig(true);
        mAssistants.setAssistantAdjustmentKeyTypeState(TYPE_PROMOTION, false);
        mAssistants.setAssistantAdjustmentKeyTypeState(TYPE_PROMOTION, false);