mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
rectify crash on crdroid : https://paste.crdroid.net/7fKtss
This commit is contained in:
@@ -1055,19 +1055,12 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer
|
||||
/** Receives animation progress from sysui process. */
|
||||
private void initRemotelyCalculatedUnfoldAnimation(UnfoldTransitionConfig config) {
|
||||
|
||||
Handler handler;
|
||||
try {
|
||||
handler = getMainThreadHandler();
|
||||
} catch (Throwable t) {
|
||||
handler = new Handler(Looper.getMainLooper());
|
||||
}
|
||||
|
||||
RemoteUnfoldSharedComponent unfoldComponent =
|
||||
UnfoldTransitionFactory.createRemoteUnfoldSharedComponent(
|
||||
/* context= */ this,
|
||||
config,
|
||||
getMainExecutor(),
|
||||
handler,
|
||||
getMainThreadHandler(),
|
||||
/* backgroundExecutor= */ UI_HELPER_EXECUTOR,
|
||||
/* bgHandler= */ UI_HELPER_EXECUTOR.getHandler(),
|
||||
/* tracingTagPrefix= */ "launcher",
|
||||
|
||||
Reference in New Issue
Block a user