straw/app/src/main/java/org/schabi/newpipe
Shafqat Bhuiyan a719b898a1 Fix playback not working after player enters idle state
On some phones (e.g. Oppo and Oneplus) the video player enters the STATE_IDLE 10 minutes after being paused. This causes the play button to stop working.

This happens because once a player has become idle, we need to call prepare() before playback can happen again.

But after I added prepare(), it would just skip to the end of the video. So now I'm executing the same code that happens when ERROR_CODE_UNSPECIFIED is done. This causes playback to resume normally.
2026-04-20 05:48:06 +02:00
..
about Remove freedroidwarn license 2026-03-04 22:45:07 +02:00
database Utilize kotlins ifEmpty 2026-02-10 09:23:17 +02:00
download Correctly retrieve menu item inside download dialog 2026-02-26 01:09:07 +02:00
error Change URL to FAQ 2026-03-07 19:13:02 +00:00
fragments libs: Update checkstyle to latest release and fix violations 2026-04-16 16:13:25 +08:00
info_list Fix NullPointerException in enqueue actions by using Application Context 2026-03-28 14:25:48 +05:30
ktx Migrate from Picasso to Coil 2026-02-21 16:48:57 +08:00
local BackupRestoreSettingsFragment: add UI options to import/export subscriptions 2026-03-15 20:54:58 +08:00
player Fix playback not working after player enters idle state 2026-04-20 05:48:06 +02:00
settings Remove non-required API M version checks 2026-04-19 19:44:23 +08:00
streams Feat: opus metadata encoding (#12974) 2026-01-03 11:55:59 +01:00
util Remove non-required API M version checks 2026-04-19 19:44:23 +08:00
views FocusOverlayView: Avoid accessing restricted API 2026-02-20 16:16:50 +08:00
App.kt Migrate from Picasso to Coil 2026-02-21 16:48:57 +08:00
BaseFragment.java Replaced `Icepick with Bridge and Android-State` 2024-10-23 21:28:07 +02:00
DownloaderImpl.java Migrate from Picasso to Coil 2026-02-21 16:48:57 +08:00
ExitActivity.kt Minor improvements 2026-02-10 16:33:43 +08:00
MainActivity.java Apply suggestion 2026-03-02 08:42:07 +02:00
NewPipeDatabase.kt ktlint: Order imports in lexicographic order 2026-01-24 00:31:13 +08:00
NewVersionWorker.kt Add missing permission checks for notifications 2026-02-20 16:16:50 +08:00
PanicResponderActivity.java Clean up pre-Lollipop checks 2022-07-13 19:02:24 +02:00
QueueItemMenuUtil.java Address non-final resource IDs warnings 2026-02-20 16:16:50 +08:00
RouterActivity.java Accomodate extractor changes (EnumSet for service media capabilities) 2026-02-21 16:55:31 +01:00