From dd69009c7cce7ab05222a36404af7ec15a93441a Mon Sep 17 00:00:00 2001 From: Matt Pietal Date: Mon, 8 Nov 2021 09:44:24 -0500 Subject: [PATCH] [DO NOT MERGE] Fix broken NotificationPanelViewControllerTest Use an empty Optional for testing Test: atest NotificationPanelViewControllerTest Fixes: 205494491 Change-Id: Iea3ab041d14d18138c0403315ab25f91fd87f776 --- .../statusbar/phone/NotificationPanelViewControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/NotificationPanelViewControllerTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/NotificationPanelViewControllerTest.java index 6e1f1487f2e79..b2b1bf5a1212d 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/NotificationPanelViewControllerTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/NotificationPanelViewControllerTest.java @@ -308,7 +308,7 @@ public class NotificationPanelViewControllerTest extends SysuiTestCase { private NotificationsQSContainerController mNotificationsQSContainerController; @Mock private FeatureFlags mFeatureFlags; - private Optional mSysUIUnfoldComponent; + private Optional mSysUIUnfoldComponent = Optional.empty(); private SysuiStatusBarStateController mStatusBarStateController; private NotificationPanelViewController mNotificationPanelViewController; private View.AccessibilityDelegate mAccessibiltyDelegate;