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

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

Merge "DO NOT MERGE Reflect the selection state that reflects the current task...

Merge "DO NOT MERGE Reflect the selection state that reflects the current task stack upon restarting the Navigation Bar." into qt-qpr1-dev
parents ea06aa50 3cc97583
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -486,6 +486,15 @@ public class CarStatusBar extends StatusBar implements CarBatteryController.Batt
        // CarFacetButtonController was reset therefore we need to re-add the status bar elements
        // to the controller.
        mCarFacetButtonController.addAllFacetButtons(mStatusBarWindow);

        // Upon restarting the Navigation Bar, CarFacetButtonController should immediately apply the
        // selection state that reflects the current task stack.
        try {
            mCarFacetButtonController.taskChanged(
                    ActivityTaskManager.getService().getAllStackInfos());
        } catch (Exception e) {
            Log.e(TAG, "Getting StackInfo from activity manager failed", e);
        }
    }

    private void addTemperatureViewToController(View v) {