mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Merge "Set the listeners to null on unregister" into main
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user