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

Commit c95406fc authored by Lucas Dupin's avatar Lucas Dupin Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Fix broken test am: c8daad69

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12154028

Change-Id: I3ffa5f34495c0a3ac818d41a45ac29936d6f1bc5
parents 3b3345ba c8daad69
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -64,8 +64,8 @@ class NotificationSectionsFeatureManagerTest : SysuiTestCase() {
                DeviceConfig.NAMESPACE_SYSTEMUI, NOTIFICATIONS_USE_PEOPLE_FILTERING, "false", false)

        assertFalse("People filtering should be disabled", manager!!.isFilteringEnabled())
        assertTrue("Expecting 2 buckets when people filtering is disabled",
                manager!!.getNumberOfBuckets() == 2)
        assertTrue("Expecting 5 buckets when people filtering is disabled",
                manager!!.getNumberOfBuckets() == 5)
    }

    @Test
@@ -74,7 +74,7 @@ class NotificationSectionsFeatureManagerTest : SysuiTestCase() {
                DeviceConfig.NAMESPACE_SYSTEMUI, NOTIFICATIONS_USE_PEOPLE_FILTERING, "true", false)

        assertTrue("People filtering should be enabled", manager!!.isFilteringEnabled())
        assertTrue("Expecting 5 buckets when people filtering is enabled",
                manager!!.getNumberOfBuckets() == 5)
        assertTrue("Expecting 6 buckets when people filtering is enabled",
                manager!!.getNumberOfBuckets() == 6)
    }
}