rectify crash on crdroid : https://paste.crdroid.net/7fKtss
This commit is contained in:
1 parent
a7f92325b9
commit
70fcc22f20
2 files changed
+12
-8
No files matched your search
@@ -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