Closed Figim closed 2 hours ago
If so, that's media3 library bug.
I don't know, but another project has this option. Why does LibreTube do this when the screen turns off? As soon as you open the screen, the video plays
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:keepScreenOn="true"> ...
https://developer.android.com/develop/background-work/background-tasks/awake/screen-on
https://developer.android.com/guide/components/activities/process-lifecycle
Steps to reproduce
Battery optimization is disabled. This problem is due to screen timeout
Expected behavior
As of Android 12, the screen must be left on in the background for the invincible service option to work.
You need to prevent the screen break in the background
Actual behavior
Does not interfere with the screen break in the background
LibreTube version
0.26.0 Debug
Android version
Android 12+
Other details
You must prevent background screen pause
Acknowledgements