mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Null reference to split callback
Bug: 302551868 Test: Ran atest NexusLauncherTests:com.android.quickstep.TaplTestsSplitscreen which caused some regressions last time. Passed locally Change-Id: I94b28296cf12c5087ee3e878352c057d1d1a73de
This commit is contained in:
@@ -590,7 +590,7 @@ public class SplitSelectStateController {
|
||||
|
||||
private final int mInitialTaskId;
|
||||
private final int mSecondTaskId;
|
||||
private final Consumer<Boolean> mSuccessCallback;
|
||||
private Consumer<Boolean> mSuccessCallback;
|
||||
|
||||
RemoteSplitLaunchTransitionRunner(int initialTaskId, int secondTaskId,
|
||||
@Nullable Consumer<Boolean> callback) {
|
||||
@@ -617,6 +617,7 @@ public class SplitSelectStateController {
|
||||
finishAdapter.run();
|
||||
if (mSuccessCallback != null) {
|
||||
mSuccessCallback.accept(true);
|
||||
mSuccessCallback = null;
|
||||
}
|
||||
resetState();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user