Commit Graph

6746 Commits

Author SHA1 Message Date
Daniel Huang
623be9471d Merge "[ToA] Use radio button style for single selection" into main 2024-10-30 03:03:13 +00:00
Zoey Chen
0478218dad Merge "[PixelSettings] Group each preference by category and add android:key" into main 2024-10-29 08:41:57 +00:00
Zoey Chen
7b1b253d44 [PixelSettings] Group each preference by category and add android:key
Bug: 376172757
Test: manual
Flag: EXEMPT resource only update
Change-Id: I6bfe9f48e90f5022cf474043ff57306619d95b44
2024-10-29 05:34:06 +00:00
Chelsea Hao
f0f7d1a252 Merge "Add developer option for le audio sharing ui flow." into main 2024-10-29 05:33:53 +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
Fan Wu
bee4f9310c Migrate System -> Languages to Catalyst
Bug: 375543649
Test: atest SettingsUnitTests
Flag: com.android.settings.flags.catalyst_language_setting
Change-Id: If7d01bd76ebf8cecb3bcc6b6528cfaec176cdc93
2024-10-28 10:09:40 +00:00
chelseahao
97dbd0bb54 Add developer option for le audio sharing ui flow.
Test: atest com.android.settings.development
Bug: 368401233
Flag: com.android.settingslib.flags.audio_sharing_developer_option
Change-Id: I9a8c7ad9a2620184080bcdfc9f430c3b25659b7d
2024-10-28 17:40:19 +08:00
Fan Wu
60521ee2f9 Add WifiCallingScreen and corresponding TS flag
Bug: 372732219
Test: atest
Flag: com.android.settings.flags.catalyst_wifi_calling_settings

Change-Id: I3d78b6745e1127a0a7e73ec20ae95e9c9db2c139
2024-10-24 10:44:24 +08:00
Shaowei Shen
f77fbbe473 Merge "[Physical Keybard] add Mouse key main page" into main 2024-10-23 09:55:56 +00:00
shaoweishen
0393a8165b [Physical Keybard] add Mouse key main page
Add page for Mouse key, which contain a main switch toggle and list of
explain images.
demo video: b/346949547#comment38
images:
https://screenshot.googleplex.com/3mc6KnyMdvfAia9.png
https://screenshot.googleplex.com/489mTfSYg9KMUpW.png

Bug: 346949547
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: Ia40d5f071cc674ce0118d7ec8a4f0d5e914ce8b9
2024-10-23 07:24:12 +00:00
mxyyiyi
1732fa8db0 Redesign the update logic of Allow Background Usage Page.
- Use one Controller to manage preferences related to battery Optimization Mode.
- Move optimization mode & preferences status update logic from Fragment to Controller.

Bug: 373544647
Test: atest AdvancedPowerUsageDetailTest  PowerBackgroundUsageDetailTest BatteryOptimizationModePreferenceControllerTest BackgroundUsageAllowabilityPreferenceControllerTest
Flag: EXEMPT for simple fix
Change-Id: I2b1fed837fb4904e4118ab51c1d0cda36c0f6198
2024-10-21 16:51:14 +08:00
Shaowei Shen
3836bfa202 Merge "[Physical Keyboard] Add slow keys dialog" into main 2024-10-17 02:06:01 +00:00
Jaewan Kim
198579affb Merge "Enable Linux terminal app via developer settings" into main am: fcc6b6ce7c am: 49be3eebd5
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3293590

Change-Id: Icd327f4e45c3cef1eabed2a30f38ecbf2fa86a12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-17 00:03:28 +00:00
Jaewan Kim
591d4fd932 Enable Linux terminal app via developer settings
Bug: 369246712
Test: `atest SettingsRoboTests`, try toggle the option, \
  and try search with 'Linux'.
Flag: RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: Ibdcf00de04f09fe5b03ba53857904945354ed844
2024-10-16 15:49:12 +00:00
Treehugger Robot
56dd252385 Merge "Migrate Dial pad tones preference" into main 2024-10-16 12:27:01 +00:00
shaoweishen
7aefcf71b6 [Physical Keyboard] Add slow keys dialog
demo: https://screenshot.googleplex.com/7CPpfHvAixe9Awr.png
Add dialog for Slow keys, which have same set up with Bounce keys.
Move dialog logic to InputSettingPreferenceController, to reuse it from
slow keys controller.

Bug: 346949547
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled

Change-Id: Ia4d74fcf3f20ed68cb252503e88d99ea79eae291
2024-10-16 09:31:06 +00:00
Mill Chen
898feed16a Migrate Dial pad tones preference
Bug: 364899400
Test: atest DialPadTonePreferenceTest
Flag: com.android.settings.flags.catalyst_sound_screen
Change-Id: I5939a4d41ad61337f38bd5d48a1cb74f14f1e397
2024-10-16 09:25:13 +00:00
Riley Jones
8e0443822a Merge "Cleanup searchable items on Accessibility > System controls" into main 2024-10-15 16:52:04 +00:00
Andy Wickham
51a8a098a5 Merge "Move Contextual Search setting to AOSP." into main 2024-10-15 00:47:04 +00:00
Riley Jones
a11a960167 Cleanup searchable items on Accessibility > System controls
Flag: EXEMPT xml changes
Bug: 354783604
Test: Manually verify conditions mentioned in bug

Change-Id: I3fd6ddefc0bc666e12bff08046174be0c9e21904
2024-10-14 21:56:40 +00:00
Shaowei Shen
6656d59ddf Merge "[Physical Keyboard] Add main page for Repeat keys" into main 2024-10-14 15:32:38 +00:00
Geoffrey Boullanger
d7f7417a1e Merge "Updated toggles in Date and time settings page" into main 2024-10-14 09:47:00 +00:00
shaoweishen
cbe75928d9 [Physical Keyboard] Add main page for Repeat keys
Page markup: https://screenshot.googleplex.com/5xCd2wVVyXajdCB.png

Test: atest SettingsRoboTests
Bug: 345399212
Flag: com.android.input.flags.keyboard_repeat_keys
Change-Id: Ie60f4b6ea4de973644103c0aa0bcdfe9a1e758eb
2024-10-14 05:28:41 +00:00
Candice Lo
6aebc96fa3 Merge "Set the Keep on after device restarts non-searchable and add comments for the reasons." into main 2024-10-13 12:55:33 +00:00
Chun-Ku Lin
276c3dfc3a Merge "Add comments for setting the searchable attribute false in DarkModePreference" into main 2024-10-11 17:29:13 +00:00
Geoffrey Boullanger
b2dd2e3203 Updated toggles in Date and time settings page
Design doc: go/dd-android-settings-time-2024

Changes:
- toggling off "automatic time zone" now sets "use location" off and makes it unmodifiable
- removing "use locale default" for time format

Bug: 296835792
Test: on-device and atest
Flag: com.android.settings.flags.revamp_toggles
Change-Id: I31744f104fed06ee9980a6a0160501325175a02d
2024-10-11 17:24:47 +00:00
Candice
ded3c8a988 Set the Keep on after device restarts non-searchable and add comments for the reasons.
Bug: 354778552
Test: Manually search `restarts` in Settings and check the preference in ExtraDim does not show up(Add screenshot to the bug)
Flag: EXEMPT The change is made in xml only
Change-Id: I37d64261c55ff7dfd1f1a4576073ce08732944c9
2024-10-11 07:41:45 +00:00
Candice
57b8d61284 Add comments for setting the searchable attribute false in DarkModePreference
Bug: 354772684
Test: None Add comments for existing codes
Flag: EXEMPT Add comments for existing codes
Change-Id: Ida20a5e3291a3e267caa5a5db6e8f2ef27928e3c
2024-10-11 07:33:58 +00:00
Treehugger Robot
5a1383886e Merge "mouse: Add preference toggle for Mouse swap primary button" into main 2024-10-10 23:25:35 +00:00
Riley Jones
a75ba56192 Merge "Provides an ordered array of shortcut types so Settings presents shortcuts in the desired order" into main 2024-10-10 23:00:13 +00:00
Treehugger Robot
bb5896b08d Merge "Mouse: Add preference toggle for mouse reverse vertical scrolling" into main 2024-10-10 20:32:27 +00:00
Riley Jones
ea06748ee2 Provides an ordered array of shortcut types so Settings presents shortcuts in the desired order
NO_IFTTT=corrects ui order
Flag: android.provider.a11y_standalone_gesture_enabled
Test: atest AccessibilityUtilTest
Bug: 371463731

Change-Id: Ia1864076faa281cf57c469a2d0d34f859858d859
2024-10-10 20:12:04 +00:00
Jimmy
449f4eeebc mouse: Add preference toggle for Mouse swap primary button
Bug: 359349392
Bug: 352598211
Test: Local DUT with aconfig flags enabled, verified settings
      appeared and swaps the mouse primary button

Flag: com.android.hardware.input.mouse_swap_primary_button

Change-Id: Ib762240c10e2cadcfa4a23cd78df81fcad8197dd
2024-10-09 19:30:15 +00:00
Jimmy
ff275c82aa Mouse: Add preference toggle for mouse reverse vertical scrolling
Bug: 359349392
Bug: 352598211
Test: Local DUT with aconfig flags enabled, verified settings appears
and is togglable. Verified toggle affects mouse scroll direction.

Flag: com.android.hardware.input.mouse_reverse_vertical_scrolling

Change-Id: I9620ac9bd33da7660c7a53f969426becc4f283cc
2024-10-09 19:29:10 +00:00
Andy Wickham
9f9571a078 Move Contextual Search setting to AOSP.
This only appears if the correpsonding system feature is enabled.

Bug: 353715553
Test: Manual
Flag: EXEMPT moving code from vendor to aosp
Change-Id: Ib19db6345b907500dfe3d53c36700df428c0171e
2024-10-09 18:32:21 +00:00
Treehugger Robot
e875a191ba Merge "[Physical Keyboard] Add Repeat key toggle" into main 2024-10-09 15:47:13 +00:00
shaoweishen
cffb21b17f [Physical Keyboard] Add Repeat key toggle
Add repeat key toggle under Physical keybaord setting.

Bug: 345399212
Test: atest SettingsRoboTests
Flag: com.android.input.flags.keyboard_repeat_keys
Change-Id: Ib986301d108b1ad30d96d7309189e9507d38c25a
2024-10-09 14:38:55 +00:00
Aleksandr Lukin
cb7b10156b Merge "Remove Android %s from search results" into main 2024-10-09 08:45:10 +00:00
Yuri Lin
c8fcd603eb Merge "Fix title on specific app's channel settings page" into main 2024-10-08 17:11:43 +00:00
Yuri Lin
bdf3f6471a Fix title on specific app's channel settings page
Fixes: 371518043
Test: manual
Flag: android.app.modes_ui
Change-Id: Ic4091ea54e1c3fd4aeaffa7ea50f2cfcc65f0ee1
2024-10-08 15:04:20 +00:00
alukin
9b62541d80 Remove Android %s from search results
Currently when "Android" is entered in Settings search,
"Android %s" appears in search results.

Removing it from the search results to fix the
issue.

Bug: 356111486
Bug: 359689134
Bug: 365040064
Test: manually verified
Test: atest StorageItemPreferenceControllerTest
Change-Id: I4f8c1fb9d94fb585ed4e84654d8a9b335cd5f748
2024-10-08 14:49:41 +00:00
Shaowei Shen
f81d492243 Merge "[Physical Keyboard][A11y Page] Add Bounce keys dialog" into main 2024-10-08 07:14:03 +00:00
shaoweishen
f0a01c51dd [Physical Keyboard][A11y Page] Add Bounce keys dialog
1.Add dialog for adjust bounce key to different values.
demo video: b/346949547#comment24.
2.Update summary text.
3.When receive update from content uri, update toggle state directly.
4.Rename Controller to more suitable name.

Bug: 346949547
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I94d8d1a77528b13f59b2d67dfa30e17dd177e385
2024-10-08 03:13:40 +00:00
Dongzhuo Zhang
fa433271a8 Add Contacts Stroage fragment class for Contacts Storage settings page.
Test: atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStorageSettingsTest

Bug: 368641291
Flag: com.android.settings.flags.enable_contacts_default_account_in_settings

Change-Id: I6ece3eeea64d07d4a97574f67549a72267371df8
2024-10-07 22:02:13 +00:00
shaoweishen
f0b6123acc [Physical Keyboard][Setting] New pk a11y entry under a11y page
Add entry for physical keyboard a11y page under a11y setting

Bug: 345399212
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I0c59c3a9df1b5df5e22349ab3907f767682d6fb9
2024-10-04 09:06:10 +00:00
Haijie Hong
451dc11ed9 Merge "Add audio category preference in more settings fragment" into main 2024-09-29 12:06:44 +00:00
Haijie Hong
78cce9cd50 Add audio category preference in more settings fragment
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I427a85159881205805933023020db2db73d729b6
2024-09-29 13:44:33 +08:00
Treehugger Robot
43f09d11a4 Merge "Replace "DND Access" by "Modes Access" in Settings search results" into main 2024-09-27 18:24:37 +00:00
Matías Hernández
2d65e7fbfa Replace "DND Access" by "Modes Access" in Settings search results
Although we dynamically replace this string by "Modes access" everywhere in runtime, it seems the search index is based on the XML content.

Test: manual
Fixes: 370036858
Flag: EXEMPT Unflaggable
Change-Id: I48d8a1cb980b58f33041a7fe2a5e6bc3d50d1539
2024-09-27 18:50:04 +02:00
Yining Liu
41cd514fb3 Notification Minimalism Settings Main Switch
Add a main preference switch for the lockscreen
notification minimalism feature

Bug: 330387368
Bug: 354047572
Flag: com.android.server.notification.notification_minimalism
Test: atest
LockscreenNotificationMinimalismPreferenceControllerTest

Change-Id: I9aa4c51f9e316dd0dd1529d712b5e9486e43453b
2024-09-26 20:58:18 +00:00