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

Commit 49be5c50 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

Fix build breakage by using StatusBarNotifChips.unsafeAssertInNewMode

Bug: 364653005
Test: compiles
Flag: com.android.systemui.status_bar_notification_chips
Change-Id: I0ee7e87cf36b3ca0f6eadc8401e21a71fb054989
parent 9e199432
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1436,7 +1436,7 @@ public class HeadsUpManagerImpl
                        mAvalancheController.getDuration(this, mAutoDismissTime);

                if (remainingDuration instanceof RemainingDuration.HideImmediately) {
                    StatusBarNotifChips.assertInNewMode();
                    /* Check if */ StatusBarNotifChips.isUnexpectedlyInLegacyMode();
                    return 0;
                }