Inversion-NL / Toon-Android

Toon Android app for rooted Toon devices
MIT License
2 stars 2 forks source link

App crashes on certain devices #18

Closed RoadXY closed 4 years ago

RoadXY commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

FATAL EXCEPTION: main
Process: com.toonapps.toon, PID: 28056
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.toonapps.toon/com.toonapps.toon.view.ConnectionWizardActivity}: java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2955)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3030)
    at android.app.ActivityThread.-wrap11(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
    at android.os.Handler.dispatchMessage(Handler.java:105)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6938)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
Caused by: java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
    at android.app.Activity.onCreate(Activity.java:1038)
    at androidx.core.app.ComponentActivity.onCreate(ComponentActivity.java:85)
    at androidx.activity.ComponentActivity.onCreate(ComponentActivity.java:149)
    at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:313)
    at androidx.appcompat.app.AppCompatActivity.onCreate(AppCompatActivity.java:106)
    at com.heinrichreimersoftware.materialintro.app.IntroActivity.onCreate(IntroActivity.java:176)
    at com.toonapps.toon.view.ConnectionWizardActivity.onCreate(ConnectionWizardActivity.java:15)
    at android.app.Activity.performCreate(Activity.java:7174)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2908)
    ... 9 more

To Reproduce Steps to reproduce the behavior:

  1. Start the app for the first time

App version (please complete the following information):

Smartphone (please complete the following information):