Commit Graph

4 Commits

Author SHA1 Message Date
danielwbhuang
8be2d2ff40 Stay on the region selection page after clicking "Cancel".
Only finish the activity after user has selected a region.

Bug: 403172371
Test: manual
Flag: EXEMPT bugfix
Change-Id: I9eee0728f7a06260249ad1db6d499eeb8c8ea255
2025-03-20 16:41:47 +08: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
danielwbhuang
37749d5ee2 Add metrics to the regional preferences implementation
1. Region
2. Temperature
3. Measurement system
4. First day of week

Bug: 389568296
Flag: EXEMPT metrics
Test: manual
Change-Id: I62c1cbcec873b33c76fd389c27e7809c7581db97
2025-01-15 11:39:46 +08: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