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

Crash on API 27 #40

Closed
anpez opened this issue Nov 20, 2017 · 1 comment
Closed

Crash on API 27 #40

anpez opened this issue Nov 20, 2017 · 1 comment

Comments

@anpez
Copy link

anpez commented Nov 20, 2017

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)
@alhazmy13
Copy link
Owner

Hi @anpez
Can you please confirm if it fixed wit last beta release 2.4.1-beta or not?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants