java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3303)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3411)
at android.app.ActivityThread.-wrap12 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1994)
at android.os.Handler.dispatchMessage (Handler.java:108)
at android.os.Looper.loop (Looper.java:166)
at android.app.ActivityThread.main (ActivityThread.java:7529)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)
Caused by: java.lang.IllegalStateException:
at android.os.Parcel.readException (Parcel.java:1962)
at android.os.Parcel.readException (Parcel.java:1900)
at android.app.IActivityManager$Stub$Proxy.setRequestedOrientation (IActivityManager.java:5704)
at android.app.Activity.setRequestedOrientation (Activity.java:6132)
at com.izettle.payments.android.ui.payment.CardPaymentActivity.onCreate (CardPaymentActivity.java:83)
at android.app.Activity.performCreate (Activity.java:7383)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1218)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3256)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3411)
at android.app.ActivityThread.-wrap12 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1994)
at android.os.Handler.dispatchMessage (Handler.java:108)
at android.os.Looper.loop (Looper.java:166)
at android.app.ActivityThread.main (ActivityThread.java:7529)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)
Steps to Reproduce
We can't reproduce, the crashes come from Google Play Console reports, but suspect it is this issue:
Expected Behavior
No crash
Current Behavior
Crash with stack:
java.lang.RuntimeException: at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3303) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3411) at android.app.ActivityThread.-wrap12 (Unknown Source) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1994) at android.os.Handler.dispatchMessage (Handler.java:108) at android.os.Looper.loop (Looper.java:166) at android.app.ActivityThread.main (ActivityThread.java:7529) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921) Caused by: java.lang.IllegalStateException: at android.os.Parcel.readException (Parcel.java:1962) at android.os.Parcel.readException (Parcel.java:1900) at android.app.IActivityManager$Stub$Proxy.setRequestedOrientation (IActivityManager.java:5704) at android.app.Activity.setRequestedOrientation (Activity.java:6132) at com.izettle.payments.android.ui.payment.CardPaymentActivity.onCreate (CardPaymentActivity.java:83) at android.app.Activity.performCreate (Activity.java:7383) at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1218) at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3256) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3411) at android.app.ActivityThread.-wrap12 (Unknown Source) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1994) at android.os.Handler.dispatchMessage (Handler.java:108) at android.os.Looper.loop (Looper.java:166) at android.app.ActivityThread.main (ActivityThread.java:7529) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)
Steps to Reproduce
We can't reproduce, the crashes come from Google Play Console reports, but suspect it is this issue:
https://stackoverflow.com/questions/50976174/illegalstateexception-on-setrequestedorientation/50984372
Context
User is running
Huawei HUAWEI MediaPad T3 10 Android 8.0 (SDK 26)
Failure Logs