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
Zoey Chen
ba7eab896f
[Settings] Save query status of search view
...
Bug: 394494567
Test: manual
Flag: EXEMPT bugfix
Change-Id: Ic82d9ae98c843d96378427aa9e8c9d5e3aa3b5ac
2025-03-10 07:45:23 +00:00
Treehugger Robot
6d35640bc6
Merge "Show dialog for changing the region of non-system language" into main
2025-03-08 07:50:52 -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
Zoey Chen
4011a8e250
Merge "[Settings] Use Settings flag to keep consistency" into main
2025-03-07 01:45:29 -08:00
Zoey Chen
59cccc6775
[Settings] Use Settings flag to keep consistency
...
Bug: 401438916
Test: manual
Flag: EXEMPT refactor
Change-Id: Ie7d1bf50c119eb5b5bcea55508c6a8a842bc60ee
2025-03-07 07:49:17 +00:00
Zoey Chen
8c3d699dc3
Merge "[Settings] Add test cases for App LocalePicker page" into main
2025-03-06 18:56:36 -08:00
Zoey Chen
bf014ead27
[Settings] Add test cases for App LocalePicker page
...
Test: atest SettingsRoboTests:com.android.settings.localepicker.AppLocaleAllListPreferenceControllerTest
Test: atest SettingsRoboTests:com.android.settings.localepicker.AppLocaleSuggestedListPreferenceControllerTest
Bug: 396285228
Flag: EXEMPT refactor
Change-Id: Icd3bcddda47e38cabdca2702f7a42e6b6b43c67e
2025-03-07 00:58:05 +00:00
Allen Su
25c54af982
Add Confirmation Dialog
...
Bug: 388418881
Test: atest LocaleListEditorTest
Flag: EXEMPT bug fix
Change-Id: Iacec13b9ef6edd44f9548354888cac39fd6b2892
2025-03-03 17:58:14 +00:00
Zoey Chen
c9d46e6527
[Settings] Update title by UX suggestion
...
Bug: 377664066
Test: manual
Flag: EXEMPT refactor
Change-Id: Ic6869e614d4464bad64ec44c5973589fb997f598
2025-02-26 22:52:50 -08:00
Zoey Chen
c0a09796b8
[Settings] Add test case for new LocalePicker page - suggested language
...
Bug: 396285228
Test: atest
Test: atest SettingsRoboTests:com.android.settings.localepicker.SystemLocaleSuggestedListPreferenceControllerTest
Test: atest SettingsUnitTests:com.android.settings.localepicker.SystemLocaleSuggestedListPreferenceControllerTest
Flag: EXEMPT refactor
Change-Id: I70d731b50775bf45ae0d73e4da9ea78dfcd3826c
2025-02-24 22:36:29 -08:00
Zoey Chen
997cd29458
[Settings] Add a flag to control show new System language picker UI or not
...
Bug: 394542699
Test: manual
Test: atest SettingsRoboTests:com.android.settings.localepicker.LocaleListEditorTest
Flag: EXEMPT refactor
Change-Id: I694e92cb7f61d208c36cb4b40aa3182cd838d5bb
2025-02-13 01:38:12 +00:00
Zoey Chen
09841d6bb4
[Settings] Apply new style to dialog
...
Bug: 394542699
Test: manual
Test: atest SettingsRoboTests:com.android.settings.localepicker.LocaleListEditorTest
Flag: EXEMPT refactor
Change-Id: Idfed52722d1113e432742342fd8a56958e84406e
2025-02-12 12:59:54 +00:00
Zoey Chen
cb071420a6
Merge "[Settings] Create new fragment for app language" into main
2025-02-03 00:54:39 -08:00
Zoey Chen
7bfa672408
Merge "[Settings] Update the locale to framework after user select a new language" into main
2025-02-02 23:25:53 -08:00
Treehugger Robot
3dcc09cc82
Merge "Fix incorrect region" into main
2025-01-22 09:10:27 -08:00
Zoey Chen
afd4967ef3
[Settings] Update the locale to framework after user select a new
...
language
Bug: 391248193
Test: manual
Flag: EXEMPT refactor
Change-Id: I938fcc26cd1807f957334f2136dda39cc989829c
2025-01-22 14:07:27 +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
Zoey Chen
55b6541023
[Settings] Create new fragment for app language
...
Bug: 388199937
Test: manual
Flag: EXEMPT refactor
Change-Id: I9afc5039456d7824421138209c62fd1b08f3698c
2025-01-22 06:40:19 +00:00
Zoey Chen
98124ddbde
Merge "[Settings] Create new controller for app language: supported locale" into main
2025-01-20 20:51:33 -08:00
Zoey Chen
3abdad1800
[Settings] Create new controller for app language: supported locale
...
Bug: 388199937
Test: manual
Flag: EXEMPT refactor
Change-Id: I66a1cec4483818a81f754c3aaa47cc569503f2fa
2025-01-19 22:50:42 -08:00
Zoey Chen
41a7b5ee9b
[Settings] Show intro preference in numbering system as well
...
Bug: 377664066
Test: manual
Flag: EXEMPT refactor
Change-Id: I63cbaaa1e9fa3f3530cb05b1a62020bf8f54d1ac
2025-01-16 02:48:10 -08:00
Zoey Chen
1daa1bb380
[Settings] Create new controller for app language: suggested locale
...
Bug: 388199937
Test: manual
Flag: EXEMPT refactor
Change-Id: I45ddbfb460365e3ff4858de0c0411c7a46d49302
2025-01-16 06:58:44 +00:00
Zoey Chen
3b6a8f9ba4
Merge "[Settings] Add search icon in region picker" into main
2024-12-31 02:19:47 -08:00
Zoey Chen
0f76903817
[Settings] Add search icon in region picker
...
Bug: 38526548
Flag: EXEMPT refactor
Change-Id: I1016f5f812d8f0c43a2b3a899bd70b6672f44481
2024-12-31 08:57:25 +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
bedf5c3805
Migrate ToA to the new entry point
...
1. Add the new entry point
2. Use flag to control the migration
Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest TermsOfAddressCategoryControllerTest
Change-Id: Ie78a0f16188f3c4414dcd653189e5772f99ecb4d
2024-12-23 17:56:55 +08:00
Priyanka Advani (xWF)
d5d59630b5
Merge "Revert "Use flag to control the hierarchy tree changes"" into main
2024-11-21 20:13:20 +00:00
Priyanka Advani (xWF)
2f996492ff
Revert "Use flag to control the hierarchy tree changes"
...
This reverts commit 34ea3dc075 .
Reason for revert: Droidmonitor created revert due to b/380258772. Will be verifying through ABTD before submission.
Change-Id: Ife4707fba00b52ade53eb6dc2f4bcd7a466afe0f
2024-11-21 18:57:44 +00:00
Daniel Huang
c1e4b09f9a
Merge "Use flag to control the hierarchy tree changes" into main
2024-11-21 10:55:35 +00:00
danielwbhuang
34ea3dc075
Use flag to control the hierarchy tree changes
...
This change includes these:
1. App languages
2.Regional preferences
2-1. Temperature
2-2. First day of week
2-3. Numbering system
3. Terms of address
Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest TermsOfAddressCategoryControllerTest,
FirstDayOfWeekControllerTest, NumberingSystemControllerTest, TemperatureUnitControllerTest
Change-Id: I9ae376f24ac4d1cf9a186ad3d77b539ac4b83642
Change-Id: I1b2f508f618fba94e67b5f8b102620837a6dda1c
2024-11-20 18:31:00 +08:00
Zoey Chen
ab0213a7e3
[Settings] Refactor: Add LocalePickerBaseListPreferenceController
...
Bug: 377664066
Flag: EXEMPT refactor
Change-Id: I2b0c0e9e121d7ab09cb8f627afa34a4f58ec9f9b
2024-11-18 13:55:23 +00:00
Zoey Chen
cbc49e787d
[Settings] Refactor: Add RegionAndNumberingSystemPickerFragmet
...
Bug: 377664066
Flag: EXEMPT refactor
Change-Id: Ib485d2763e0ce17473c8442ba4626802689c7b78
2024-11-15 03:07:54 +00:00
Zoey Chen
a15948b53e
[Settings] Refactor: Add SystemLocalePickerFragment
...
Bug: 377664066
Flag: EXEMPT refactor
Change-Id: I79805c639197911d10f3632e50b5feced08c2fd6
2024-11-14 07:05:30 +00:00
Zoey Chen
31dfbdabf1
[Settings] Refactor: Add LocalePickerBaseListPreferenceController
...
Bug: 377664066
Flag: EXEMPT refactor
Change-Id: I54d212ea520b67263f5b797175936c046a534519
2024-11-12 05:50:50 +00:00
danielwbhuang
2d2f523abe
[ToA] Use radio button style for single selection
...
1. Change TickButtonPreference to SelectorWithWidgetPreference
2. Modify tests
Bug: 375979373
Flag: EXEMPT bugfix
Test: atest TermsOfAddressFeminineControllerTest, TermsOfAddressMasculineControllerTest, TermsOfAddressNeutralControllerTest, TermsOfAddressNotSpecifiedControllerTest
Change-Id: I29c01fb3d2fa9545bdd817f50d9c48b3610f9785
2024-10-29 03:39:07 +00:00
Matías Hernández
38623b006f
Merge changes I28f7e3e6,I30450d13 into main
...
* changes:
Fix existing DND Settings shortcuts to point to Modes
Refactor shortcut updating, and do it on BOOT_COMPLETE
2024-09-19 07:38:44 +00:00
Matías Hernández
939189bde8
Refactor shortcut updating, and do it on BOOT_COMPLETE
...
This CL shuffles quite a bit of code around, but the effective differences are:
* Unified shortcut updating code (language switch & backup restoration).
* Shortcuts are also updated on boot (flagged by MODES_UI which will need this).
* Removed usage of (long obsolete) AsyncTask.
A further CL will add some special-casing for the DND->Modes shortcut transition.
Bug: 365545604
Test: atest com.android.settings.shortcut + manual (switch language, reboot)
Flag: android.app.modes_ui
Change-Id: I30450d13cb05008d2a71ed89d4781eb81e5532b9
2024-09-13 12:16:46 +02:00
Zoey Chen
5f3872baad
Merge "[Settings] Restore the position" into main
2024-09-05 06:13:19 +00:00
Zoey Chen
d99ea6b397
[Settings] Restore the position
...
Bug: 314888469
Test: manual
Flag: EXEMPT bugfix
Change-Id: I419a863b55b1357b9fbe14f2f2a88dd623bd5b53
2024-09-04 09:19:01 +00:00
Zoey Chen
22c4a1e955
Merge "[Settings] Do not create fragment twice" into main
2024-08-15 02:27:14 +00:00
Zoey Chen
291e496075
[Settings] Should create header again when adding it to the listview
...
Bug: 291545021
Test: manual
Flag: EXEMPT bugfix
Change-Id: I9d76814d98b67b1eb0078765a2b5bd6949cff446
2024-08-14 03:53:21 +00:00
Zoey Chen
b0f51ff8fb
[Settings] Do not create fragment twice
...
Bug: 353141266
Test: manual
Flag: EXEMPT bugfix
Change-Id: Id300fa4ae7b6edc7663da2efe6bd5ce5401d4947
2024-08-13 11:17:18 +00:00
Zoey Chen
81a70e0e20
[Settings] Do not use deprecated API, onBackPressed
...
Bug: 318313238
Test: manual
Change-Id: I616ea3cf4b2b89905d85380305df4853d4d5d626
2024-05-31 08:26:29 +00:00
Josh Hou
544fed5291
Merge "Aggregation checkbox and locale text" into main
2024-03-27 09:20:05 +00:00
Josh Hou
3c38a12347
Aggregation checkbox and locale text
...
Refer to other settings with the checkbox to read the checkbox and corresponding text together, such as "Erase SIMs" or "Show password" in WiFi settings.
Bug: 288223637
Bug: 317927064
Test: Perform some accessibility test like TalkBack and Select to Speak
Change-Id: I571fe3f2f8d7b6b4f4c7b5804d0217a2a2b97757
2024-03-26 03:19:19 +00:00
Zoey Chen
51d6aeb5c2
[ToA] Should strip u extension when check locale
...
Bug: 330664746
Change-Id: Ic7bfbfbf2a8abb70b96b9a6e26854af4f252722d
Test: manual
2024-03-26 02:10:46 +00:00
Allen Su
ab18169773
[ToA]Cache system gender to reduce unnecessary IPC
...
Bug: 312324895
Test: atest TermsOfAddressNotSpecifiedControllerTest
atest TermsOfAddressNeutralControllerTest
atest TermsOfAddressMasculineControllerTest
atest TermsOfAddressFeminineControllerTest
Change-Id: Idee2cc1ece673092c94307b8812f032f7826c16a
2024-03-22 09:17:09 +00:00
Allen Su
bb62c74bda
[ToA] Move IO to background thread
...
Bug: 295826542
Bug: 312324895
Test: atest TermsOfAddressNotSpecifiedControllerTest, atest
TermsOfAddressNeutralControllerTest, atest
TermsOfAddressMasculineControllerTest, atest TermsOfAddressFeminineControllerTest
Change-Id: I45808815401f2caa24ffc03d634a4b2c90dfd55e
2024-03-15 07:23:34 +00:00
Jacky Wang
cc0a94d732
[DataStore] Migrate LocaleNotification SharedPreferences to BackupRestoreStorage
...
Bug: 325144964
Test: Manual tests
Change-Id: I195ee91f29030fcfe7176ed0c18fb2e2d0d40257
2024-03-06 14:44:04 +08:00