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

Commit 15fee3eb authored by kwaky's avatar kwaky
Browse files

Refactor CarStatusBar to register listener after NotificationClickHanlderFactory instantiation.

Test: Manual
Bug: 134502201
Change-Id: I512a441640bfba776037c4e8d8b38129e71860e6
parent 45a2a9a2
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
@@ -423,9 +423,8 @@ public class CarStatusBar extends StatusBar implements
                }
        );

        mNotificationClickHandlerFactory = new NotificationClickHandlerFactory(
                mBarService,
                launchResult -> {
        mNotificationClickHandlerFactory = new NotificationClickHandlerFactory(mBarService);
        mNotificationClickHandlerFactory.registerClickListener((launchResult, alertEntry) -> {
            if (launchResult == ActivityManager.START_TASK_TO_FRONT
                    || launchResult == ActivityManager.START_SUCCESS) {
                animateCollapsePanels();