Skip to content
Commit 780ff712 authored by Calvin Pan's avatar Calvin Pan
Browse files

Reuse LocalePickerWithRegion in app language selection

- (LocalePickerWithRegion) Only list the language that supported by app
- Add "System language" option
- Add current app locale into suggestion list
- Sort locales by these priorities:
  1. Current app's locale
  2. System language
  3. Suggested language
  4. Supported languages

Bug: 223090003
Test: Manual
- (system languages page)
    Check Settings-> System -> Languages -> Languages
- (pre-apps language page)
    Check Settings-> System -> Languages -> Apps Languages
- Add unit test in follow CL(tracing in b/224747202)
Change-Id: I8dc9f73811dbf653b32773fb98ddb2e4656a4432
parent f77ad169
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment