straw/app
Profpatsch ab7d1377e5 Player/handleIntent: always early return on ENQUEUE an ENQUEUE_NEXT
We can do this, because:

1. if `playQueue` is not null, we return early
2. if `playQueue` is null and we need to enqueue:
  - the only “proper” case that could be triggered is
    the `RESUME_PLAYBACK` case, which is never `true` for the queuing
    intents, see the comment in `NavigationHelper.enqueueOnPlayer`
  - the generic `else` case is degenerate, because it would crash on
  `playQueue` being `null`.

This makes some sense, because there is no way to trigger the
enqueueing logic via the UI currently if there is no video playing
yet, in which case `playQueue` is not `null`.

So we need to transform this whole if desaster into a big switch.
2025-09-06 15:04:06 +02:00
..
sampledata Larger channel cards in search results 2023-02-09 06:15:22 +05:30
schemas/org.schabi.newpipe.database.AppDatabase Fix DatabaseMigrationTest 2024-03-29 20:43:55 +01:00
src Player/handleIntent: always early return on ENQUEUE an ENQUEUE_NEXT 2025-09-06 15:04:06 +02:00
build.gradle Allow ErrorInfo messages with formatArgs 2025-08-30 14:36:27 +02:00
proguard-rules.pro Update NewPipe Extractor and add new proguard rules 2025-05-07 12:50:37 +02:00