Introducing a wrapper over binder to simplify lifecycle management for IPC

Fix: 400733213
Flag: NONE - release code
Test: manual
Change-Id: I5e143fce6a4cbc1dbb246bc6e0141ebbbc8bd274
This commit is contained in:
Sunny Goyal
2025-01-30 16:42:44 -08:00
parent 1fbdbe19fb
commit 018356d3c3
9 changed files with 149 additions and 6 deletions
@@ -352,7 +352,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
new RemoteAnimationAdapter(runner, duration, statusBarTransitionDelay),
new RemoteTransition(runner.toRemoteTransition(),
mLauncher.getIApplicationThread(), "QuickstepLaunch"));
IRemoteCallback endCallback = completeRunnableListCallback(onEndCallback);
IRemoteCallback endCallback = completeRunnableListCallback(onEndCallback, mLauncher);
options.setOnAnimationAbortListener(endCallback);
options.setOnAnimationFinishedListener(endCallback);
options.setLaunchCookie(StableViewInfo.toLaunchCookie(itemInfo));