•  

    W najnowszym weekly, jak próbuję jakiś filmik z YouTube dać na pełny ekran, to wywala aplikację:

    java.lang.IllegalStateException: Only fullscreen activities can request orientation
    at android.os.Parcel.readException(Unknown Source:113)
    at android.os.Parcel.readException(Unknown Source:10)
    at android.app.IActivityManager$Stub$Proxy.setRequestedOrientation(Unknown Source:28)
    at android.app.Activity.setRequestedOrientation(Unknown Source:10)
    at io.github.feelfreelinux.wykopmobilny.ui.modules.embedview.YoutubeViewActivity$onCreate$1$2.onYouTubePlayerEnterFullScreen(YoutubeViewActivity.kt:62)
    at com.pierfrancescosoffritti.youtubeplayer.player.playerUtils.FullScreenHelper.enterFullScreen(FullScreenHelper.java:34)
    at com.pierfrancescosoffritti.youtubeplayer.player.playerUtils.FullScreenHelper.toggleFullScreen(FullScreenHelper.java:56)
    at com.pierfrancescosoffritti.youtubeplayer.player.YouTubePlayerView.toggleFullScreen(YouTubePlayerView.java:139)
    at com.pierfrancescosoffritti.youtubeplayer.ui.DefaultPlayerUIController.onFullScreenButtonPressed(DefaultPlayerUIController.java:242)
    at com.pierfrancescosoffritti.youtubeplayer.ui.DefaultPlayerUIController.onClick(DefaultPlayerUIController.java:228)
    at android.view.View.performClick(Unknown Source:15)
    at android.view.View$PerformClick.run(Unknown Source:2)
    at android.os.Handler.handleCallback(Unknown Source:2)
    at android.os.Handler.dispatchMessage(Unknown Source:4)
    at android.os.Looper.loop(Unknown Source:139)
    at android.app.ActivityThread.main(Unknown Source:71)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Unknown Source:11)
    at com.android.internal.os.ZygoteInit.main(Unknown Source:200)

    #owmweekly #owmbugi