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

Commit 02ce6a3e authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Disable test for impossible condition

(Flagged)

Flag: android.app.Flags.FLAG_UPDATE_RANKING_TIME
Test: OngoingCallControllerTest
Bug: 330193582
Change-Id: I30000f7015771df5eba14754d94a206ed561b902
parent 7e51ac0a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import android.app.IUidObserver
import android.app.Notification
import android.app.PendingIntent
import android.app.Person
import android.platform.test.annotations.DisableFlags
import android.service.notification.NotificationListenerService.REASON_USER_STOPPED
import android.testing.AndroidTestingRunner
import android.testing.TestableLooper
@@ -193,6 +194,7 @@ class OngoingCallControllerTest : SysuiTestCase() {

    /** Regression test for b/192379214. */
    @Test
    @DisableFlags(android.app.Flags.FLAG_UPDATE_RANKING_TIME)
    fun onEntryUpdated_notificationWhenIsZero_timeHidden() {
        val notification = NotificationEntryBuilder(createOngoingCallNotifEntry())
        notification.modifyNotification(context).setWhen(0)