Skip to content

Merge dev into refactor#13445

Merged
theimpulson merged 16 commits intorefactorfrom
mergeDev
Apr 23, 2026
Merged

Merge dev into refactor#13445
theimpulson merged 16 commits intorefactorfrom
mergeDev

Conversation

@theimpulson
Copy link
Copy Markdown
Member

@theimpulson theimpulson commented Apr 21, 2026

What is it?

  • Bugfix (user facing)
  • Feature (user facing) ⚠️ Your PR must target the refactor branch
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • Merges dev branch into refactor
  • Switches to JDK 21 for buiding
  • Updates compose-related depenedencies as they are only in refactor
  • Drops leftover of previous commit

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

theimpulson and others added 14 commits April 16, 2026 16:13
Javadoc comment at column 46 has parse error. Details: no viable alternative at input '<http:/' while parsing HTML_ELEMENT [UnusedImports]

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
androidx framework has bumped minSdk requirement to API 23. Most libs dependening
upon the framework as a result require us to bump API level or keep using outdated versions.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Remove non-required API M version checks
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.
Fix playback not working after player enters idle state
The underlying problem is fixed with jsoup 1.12.2. See TeamNewPipe/NewPipeExtractor#1480.

Revert 6c5d58b /  #13038.
Update extractor and remove prguard rules for jsoup
… task

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
@theimpulson theimpulson requested review from Stypox and TobiGr April 21, 2026 02:46
@theimpulson theimpulson added the dependency Issues and PRs related to dependencies label Apr 21, 2026
@github-actions github-actions Bot added the size/large PRs with less than 750 changed lines label Apr 21, 2026
@ShareASmile ShareASmile added the rewrite Issues and PRs related to rewrite label Apr 21, 2026
@github-project-automation github-project-automation Bot moved this to In Progress in Rewrite Apr 21, 2026
The about libraries gradle plugin does merge of duplicate by defaults.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Copy link
Copy Markdown
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, LGTM

Comment thread app/build.gradle.kts
Checkstyle was already requiring JDK 21 and now about libraries need it too

Use the kotlin extension method as it will also configure it for java code

Ref: https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
@theimpulson theimpulson merged commit ee25b44 into refactor Apr 23, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Rewrite Apr 23, 2026
@theimpulson theimpulson deleted the mergeDev branch April 23, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency Issues and PRs related to dependencies rewrite Issues and PRs related to rewrite size/large PRs with less than 750 changed lines

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants