Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(android): add support for Android's API 33 Per-app languages #14120

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

AbdullahFaqeir
Copy link
Contributor

This PR adds support for Android's Per-app languages presented in Android API 33/Android 12.

See Per-app languages preferences

@AbdullahFaqeir
Copy link
Contributor Author

AbdullahFaqeir commented Sep 20, 2024

@hansemannn @m1ga a fresh clean PR for the Per-app languages.

I kept searching for the test cases so I add to it, couldn't seem to find it tho.

@m1ga
Copy link
Contributor

m1ga commented Sep 20, 2024

Nice 👍 This looks a lot better now.
one test case is in here: #14008 (comment)

Will start testing your PRs tomorrow but from a quick first look it looked fine

@AbdullahFaqeir
Copy link
Contributor Author

AbdullahFaqeir commented Sep 20, 2024

@m1ga,

Will test using this, tho I was thinking about the automated unit testing.

Update: The test app is working just fine.

Copy link
Contributor

@m1ga m1ga left a comment

Choose a reason for hiding this comment

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

just some minor string changes you can apply.

I've used my test code from the comment above and works correctly:

  • starting the app: empty array as no per-app language is set
  • changing it in the app and then going to "app preferences - per-app language" shows the correct value
  • changing the value in "app preferences - per-app language" and opening the app shows the correct value in the app

AbdullahFaqeir and others added 3 commits September 21, 2024 15:24
…aleModule.java

Co-authored-by: Michael Gangolf <m1ga@users.noreply.github.com>
Co-authored-by: Michael Gangolf <m1ga@users.noreply.github.com>
…aleModule.java

Co-authored-by: Michael Gangolf <m1ga@users.noreply.github.com>
@m1ga m1ga self-requested a review September 21, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants