Skip to content

Conversation

Isira-Seneviratne
Copy link
Member

@Isira-Seneviratne Isira-Seneviratne commented Jul 19, 2025

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • Update AppCompat to 1.7.1 (changelog)
  • Enable AppCompat's per-app language functionality for Android versions below 13 (Tiramisu). Due to the configuration being automatically updated after the app language change, the assureCorrectAppLanguage method has also been removed.

Before/After Screenshots/Screen Record

  • Before (Android 12):
Screen_recording_20250719_193520.mp4
  • After (Android 12):
Screen_recording_20250719_193555.mp4

Fixes the following issue(s)

  • Fixes #

Relies on the following changes

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

@github-actions github-actions bot added the size/medium PRs with less than 250 changed lines label Jul 19, 2025
@TobiGr TobiGr added the localisation / translation Everything that has to do with translations or Weblate label Jul 19, 2025
@litetex
Copy link
Member

litetex commented Jul 19, 2025

Is this ready for review?

Related documentation (we should put that somewhere into the code): https://android-developers.googleblog.com/2022/11/per-app-language-preferences-part-1.html

@Isira-Seneviratne
Copy link
Member Author

Is this ready for review?

Yes.

Related documentation (we should put that somewhere into the code): https://android-developers.googleblog.com/2022/11/per-app-language-preferences-part-1.html

I updated it.

@litetex litetex self-requested a review July 20, 2025 19:31
* Use build constants when possible
* Inline variables
* Don't use var for normal-sized types (that way it's easier to review)
* Split code into methods
@github-actions github-actions bot added size/large PRs with less than 750 changed lines and removed size/medium PRs with less than 250 changed lines labels Jul 20, 2025
Copy link
Member

@litetex litetex left a comment

Choose a reason for hiding this comment

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

LGTM, did some minor cleanup

@litetex
Copy link
Member

litetex commented Jul 20, 2025

Successfully tested on:

  • Android 9 - ANE-LX1
  • Android 10 - Emulator
  • Android 13 - ANE-LX1
  • Android 15 - FP5

@litetex litetex merged commit 45589db into TeamNewPipe:dev Jul 20, 2025
5 checks passed
@Isira-Seneviratne Isira-Seneviratne deleted the Per-app-language branch July 21, 2025 03:22
@Stypox Stypox mentioned this pull request Jul 23, 2025
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

localisation / translation Everything that has to do with translations or Weblate size/large PRs with less than 750 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants