build/fix-trebuchet-taskbar.patch
nyyu ad6806e3f0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline failed
fix: taskbar
2022-12-25 13:59:05 +01:00

27 lines
1.1 KiB
Diff

From 62d44fa0a9b5d4a9d379bdbba6270a36433f5920 Mon Sep 17 00:00:00 2001
From: nyyu <mail@nyyu.dev>
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