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

Commit e54818c0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Refactor CarStatusBar to register listener after...

Merge "Refactor CarStatusBar to register listener after NotificationClickHanlderFactory instantiation."
parents 9aeeb3e5 15fee3eb
Loading
Loading
Loading
Loading
+7 −8
Original line number Original line Diff line number Diff line
@@ -425,9 +425,8 @@ public class CarStatusBar extends StatusBar implements
                }
                }
        );
        );


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