Set controllersInitialized to false when destroying taskbar controllers

Bug: 250912179
Test: presubmit
Change-Id: I16532e99b8f74542def4283b6cc753673eb5ee2d
This commit is contained in:
Alex Chau
2022-10-05 15:46:31 +01:00
parent 72f5b73f5d
commit 72c08d9255

View File

@@ -165,6 +165,7 @@ public class TaskbarControllers {
* Cleans up all controllers.
*/
public void onDestroy() {
mAreAllControllersInitialized = false;
mSharedState = null;
navbarButtonsViewController.onDestroy();