Commit Graph

6 Commits

Author SHA1 Message Date
Allen Su
e8bd9e66b8 Improve dialog popup
1. Disable dialog when the sys language doesn't change
2. Associate region with system locale

Bug: 402600866
Test: atest LocaleListEditTest
Flag: EXEMPT bugfix
Change-Id: I2c7ddbf89b6caa02a35e247ebe97086f5880adee
2025-03-18 10:37:37 +00:00
danielwbhuang
5139f57ee0 Show dialog for changing the region of non-system language
User wants to add the same language (non system language) with a different region. Adding the same language again with a different region will change the region of that language to the new region.

Bug: 388942734
Test: manual verification
Flag: EXEMPT bugfix
Change-Id: Ib124aa795277d5e1d66f3a98a16ab9bf1cfbe08f
2025-03-08 09:42:26 +08:00
Allen Su
caf664cd60 Fix unnecessary dialog
Bug: 388426025
Test: UI verification
Flag: com.android.settings.flags.regional_preferences_api_enabled
Change-Id: Ie4adff23b5b2fc26ef97478f6732eb300d088bd7
2025-02-03 07:13:41 +00:00
Allen Su
9e09f00956 Fix incorrect region
Bug: 388426025
Test: UI verification
Flag: com.android.settings.flags.regional_preferences_api_enabled
Change-Id: I62df2e3d2111ee45aece7a6af81edc561fe72b07
2025-01-22 11:02:52 +00:00
danielwbhuang
833a0e3c92 Show dialog when user chnages the region
1. show dialog
2. change the region of the top locale

Bug: 385047778
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv, atest
Change-Id: I9746cdec670899b3768dcd1e0aa59e1959dd7e06
2024-12-25 12:00:09 +08:00
danielwbhuang
09b9d052fc Create a new region picker page
1. The region which is selected in region picker will also apply to the first locale.
2. When a user change the first locale, the region of the first locale will be updated to the region picker.

Bug: 385047778
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv
Change-Id: I001e0910ce9d1601513ed2f52e6ee30d3551859f
2024-12-20 16:12:25 +08:00