Loading packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java +10 −3 Original line number Diff line number Diff line Loading @@ -114,12 +114,19 @@ public class CarStatusBar extends StatusBar implements new DeviceProvisionedController.DeviceProvisionedListener() { @Override public void onDeviceProvisionedChanged() { mDeviceIsProvisioned = mHandler.post(() -> { // on initial boot we are getting a call even though the value // is the same so we are confirming the reset is needed boolean deviceProvisioned = mDeviceProvisionedController.isDeviceProvisioned(); if (mDeviceIsProvisioned != deviceProvisioned) { mDeviceIsProvisioned = deviceProvisioned; restartNavBars(); } }); } }); } // Register a listener for driving state changes. mDrivingStateHelper = new DrivingStateHelper(mContext, this::onDrivingStateChanged); Loading Loading
packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java +10 −3 Original line number Diff line number Diff line Loading @@ -114,12 +114,19 @@ public class CarStatusBar extends StatusBar implements new DeviceProvisionedController.DeviceProvisionedListener() { @Override public void onDeviceProvisionedChanged() { mDeviceIsProvisioned = mHandler.post(() -> { // on initial boot we are getting a call even though the value // is the same so we are confirming the reset is needed boolean deviceProvisioned = mDeviceProvisionedController.isDeviceProvisioned(); if (mDeviceIsProvisioned != deviceProvisioned) { mDeviceIsProvisioned = deviceProvisioned; restartNavBars(); } }); } }); } // Register a listener for driving state changes. mDrivingStateHelper = new DrivingStateHelper(mContext, this::onDrivingStateChanged); Loading