Merge "Set the listeners to null on unregister" into main

This commit is contained in:
Orhan Uysal authored and Android (Google) Code Review committed 2024-05-17 08:33:03 +00:00
commit 33967ebcea
2 files changed
+2

No files matched your search

@@ -93,6 +93,7 @@ public class DesktopVisibilityController {
*/
public void unregisterSystemUiListener() {
SystemUiProxy.INSTANCE.get(mLauncher).setDesktopTaskListener(null);
mDesktopTaskListener = null;
}
/**
@@ -983,6 +983,7 @@ public class SplitSelectStateController {
void onDestroy() {
SystemUiProxy.INSTANCE.get(mLauncher).unregisterSplitSelectListener(
mSplitSelectListener);
mSplitSelectListener = null;
}
/**