Fixing out of order taskbar callbacks

OnCreate can come before onDestroy for a previous activity which can
cause the callbacks for taskbar to get cleared

Bug: 190170303
Test: Presubmit
Change-Id: I48334605384d4604043a50ffc3d137f84575148a
This commit is contained in:
Sunny Goyal committed 2021-06-18 12:44:38 -07:00
1 parent 485796e814
commit 6e1ce8ccb8
3 files changed
+19 -8

No files matched your search

@@ -132,7 +132,7 @@ public abstract class BaseQuickstepLauncher extends Launcher
unbindService(mTisBinderConnection);
if (mTaskbarManager != null) {
mTaskbarManager.setLauncher(null);
mTaskbarManager.clearLauncher(this);
}
super.onDestroy();
}