From 62d44fa0a9b5d4a9d379bdbba6270a36433f5920 Mon Sep 17 00:00:00 2001 From: nyyu Date: Fri, 23 Dec 2022 19:20:55 +0100 Subject: [PATCH] fix: trebuchet taskbar Change-Id: I566e6a3cf799cdd8ee5d4f07221b9d6bb80d41cb --- .../src/com/android/launcher3/taskbar/TaskbarManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarManager.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarManager.java index e7d102d5c3..ef0f12eae4 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarManager.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarManager.java @@ -133,8 +133,7 @@ public class TaskbarManager { LineageSettings.System.ENABLE_TASKBAR, 0) == 1; SystemUiProxy.INSTANCE.get(mContext).setTaskbarEnabled(enabled); - // Restart launcher - System.exit(0); + recreateTaskbar(); }; // TODO(b/227669780): Consolidate this w/ DisplayController callbacks mComponentCallbacks = new ComponentCallbacks() { -- 2.39.0