mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
When task bar crashes (from anything), task bar window is not cleaned up properly. This is because destroyExistingTaskbar() only removes the root layout from the window when we are no longer rendering task bar (one use case of that is folding the device). We need to clean it up in onDestroy() also. Fixes: 319105323 Test: adb shell am crash com.android.systemui and make sure there is only one task bar window Change-Id: Ia9c808e903422707bf4c270b2631fc913dde65d9