Skip to content
This repository has been archived by the owner on May 30, 2021. It is now read-only.
This repository has been archived by the owner on May 30, 2021. It is now read-only.

Crash on API 27 #40

Closed
Closed
@anpez

Description

The library crashes on API 27 (Android 8.1) because of the launched activity requesting orientation with a translucent theme, which is not allowed now.

Caused by: java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
    at android.app.Activity.onCreate(Activity.java:987)
    at android.support.v4.app.SupportActivity.onCreate(SupportActivity.java:66)
    at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:297)
    at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:84)
    at net.alhazmy13.mediapicker.Video.VideoActivity.onCreate(VideoActivity.java:54)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions