Skip to content
This repository was archived by the owner on Jun 19, 2021. It is now read-only.
This repository was archived by the owner on Jun 19, 2021. It is now read-only.

Android 8.0-8.1 critical bug with startActivityForResult #28

@gSerP1983

Description

@gSerP1983

If I call startActivity, it works fine. If I call startActivityForResult my app closes with error:

04-13 19:50:18.465 6672-6672/com.serp.benchpressplus E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.serp.benchpressplus, PID: 6672
java.lang.IllegalArgumentException: View=DecorView@2ee20e4[] not attached to window manager
at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:485)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:380)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:99)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3714)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1638)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions