microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.69k stars 1.73k forks source link

Auth: Fix exceptions caused by folding screens #2644

Open DaVinci9196 opened 3 days ago

DaVinci9196 commented 3 days ago

Fixed the issue with the quick login pop-up window on the folding screen.

11-01 16:37:06.109 20931 20931 E AndroidRuntime: Process: com.google.android.gms:ui, PID: 20931 11-01 16:37:06.109 20931 20931 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.gms/org.microg.gms.auth.signin.AssistedSignInActivity}: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment org.microg.gms.auth.signin.AssistedSignInFragment: could not find Fragment constructor 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4866) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:5090) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:7386) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:7260) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:77) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:50) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:3157) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:117) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:205) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.os.Looper.loop(Looper.java:293) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.ActivityThread.processInnerLoop(ActivityThread.java:10193) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.ActivityThread.loopProcess(ActivityThread.java:10185) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:10176) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 11-01 16:37:06.109 20931 20931 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1252)