Commit Graph

31817 Commits

Author SHA1 Message Date
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
Yiyi Shen
f6787fd88b [Audiosharing] Update button background radius
Test: manual
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 366149567
Change-Id: I6aa2b0efb1e2d7b1d08d958fa065d739bef48812
2024-10-23 13:18:45 +08:00
Bill Yi
6b783c268f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic68ab328cbd3853b5ebd149902dcb86fab6818d7
2024-10-22 17:20:32 -07:00
Bill Yi
76c284d584 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib27f1afb715c77907a5c22672690ef20c2a79995
2024-10-22 17:18:51 -07:00
Haijie Hong
dfeeb297ad Update backgroundcolor of advanced bt header image
BUG: 362547405
Test: local tested
Flag: EXEMPT minor UI fix
Change-Id: I3aa400a64b95f067b380ed94564ee180341e8b70
2024-10-22 14:39:48 +08:00
Dongzhuo Zhang
b34562ef91 Merge "Swtich to use DefaultAccount related API to get and set default account for handling contacts." into main 2024-10-21 22:53:32 +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
Dongzhuo Zhang
8e3e3ea973 Swtich to use DefaultAccount related API to get and set default account for handling contacts.
Test: atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStorageSettingsTest
atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStoragePreferenceControllerTest
Bug: 368641291
Flag: com.android.settings.flags.enable_contacts_default_account_in_settings
Change-Id: I1164c120881714d051a6acc34e75d2b5de0f01b5
2024-10-18 00:55:34 +00:00
Joy Babafemi
286dcff126 Merge "Fix missing open button under preferred service in credman settings screen" into main 2024-10-17 19:19:12 +00:00
Treehugger Robot
b640f0445e Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-17 16:19:26 +00:00
Treehugger Robot
2040dc37cf Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-17 16:19:26 +00: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
fcc6b6ce7c Merge "Enable Linux terminal app via developer settings" into main 2024-10-16 23:23:29 +00:00
Bill Yi
612880bb93 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic6f36b2f8c2d9a303c3e8b4ce9e0b26f86b7bfca
2024-10-16 13:18:11 -07:00
Bill Yi
4597290de3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6285a75d4d67974ba067efaa9d7f4ebbe7246e1c
2024-10-16 13:16:35 -07: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
Treehugger Robot
22aebb7599 Merge "Add MaterialComponents.DayNight to SearchBarStyle" into main am: 71c59bae9c am: fa97f902d7
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3252493

Change-Id: I283b32631c3184011cdc6c684e266740b3963c1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-16 07:26:35 +00:00
Joy Babafemi
2fbff9b6da Fix missing open button under preferred service in credman settings screen
Bug: 368690798
Test: manual test
Flag: EXEMPT minor xml changes
Change-Id: I27047b4e27f171436d96cff5bba1364053dcaa7a
2024-10-16 03:00:47 +00:00
Robin Vinterbladh
dc419524c5 Add MaterialComponents.DayNight to SearchBarStyle
When opening the Settings app or changing colors in ThemePicker
there are tons of warnings with UnsupportedOperationException in
the log. These logs are related to the
LayoutInflater attempting to inflate a MaterialCardView and
TypedArray#getColor where it expects the colors to be either an integer
color or a color state list. This happens every time you re-start
Settings.

To enable layout inflater finding colors for Settings we add a
MaterialComponents theme to SearchBarStyle, this makes sure that
TypedArray#getColor gets an integer color instead of relying on
framework to solve this.

Flag: NA
Bug: 363970601
Test: manual, open Settings and check the logs
Change-Id: I728c1537537bb4d32af6006800de93e64facfa8e
2024-10-16 01:05:12 +00:00
Treehugger Robot
627538e100 Merge "Add piano and remove tent from zen icon picker" into main 2024-10-15 19:52:29 +00:00
Marcus Ge
3ba451c4a3 Merge "[Contrast] Fix checkmark in RTL" into main 2024-10-15 17:09:38 +00:00
Riley Jones
8e0443822a Merge "Cleanup searchable items on Accessibility > System controls" into main 2024-10-15 16:52:04 +00:00
Alexander Roederer
36343c7358 Add piano and remove tent from zen icon picker
Bug: 372366178
Test: atest IconOptionsProviderImplTest + manual
Flag: android.app.modes_ui
Change-Id: Ic777cc4314014bca7b422244ed8861d09c8a3969
2024-10-15 16:18:49 +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
SongFerng Wang
be77468166 Merge "Update VPN app dialog message to include version code" into main 2024-10-14 03:37:58 +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
Treehugger Robot
7f3861cf75 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-12 22:24:23 +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
marcusge
a2c9a20f2b [Contrast] Fix checkmark in RTL
Bug: 357634241
Test: local device
Screenshot: attached on bug
Flag: com.android.settings.accessibility.enable_color_contrast_control

Change-Id: I249495de23c18ffd1727323ff7336a07ab7ca2ae
2024-10-11 16:46:27 +00:00
SongFerng Wang
f50ba4c6ec Update VPN app dialog message to include version code
Add the string back to AppDialog in VPN

Bug: 372179228
Change-Id: I2f45515623cd7d0fbaf4a17026d040107b804fed
Test: verify the UI.
Flag: EXEMPT bugfix
2024-10-11 07:55:17 +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
Bill Yi
867c10e0f3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibd35aee126206c49bac0695d3d6a4d1035837a14
2024-10-10 17:31:40 -07: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
Daniel Norman
e3c4db5884 Rename system caption "Text size" to "Caption size".
Change-Id: I8ee4b4c5d3393827240b1c9f757efb0dc85d40e8
Fix: 295665940
Test: strings only
Flag: EXEMPT resource only update
2024-10-10 02:33:20 +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