Commit Graph

6763 Commits

Author SHA1 Message Date
Dongzhuo Zhang
288cb40982 Merge "Few update on contacts storage settings. 1. Add account preference category to contacts storage settings page 2. Preload account icon in settings constructor 3. Re-fetch account in controller to refresh the default account after user sets a different default account." into main 2024-11-06 03:47:19 +00:00
Dongzhuo Zhang
2f16e5824e Few update on contacts storage settings.
1. Add account preference category to contacts storage settings page
2. Preload account icon in settings constructor
3. Re-fetch account in controller to refresh the default account after user sets a different default account.

Test: atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStorageSettingsTest
atest SettingsRoboTests:com.android.settings.applications.contacts.ContactsStoragePreferenceControllerTest
Bug: 368641291
Flag: android.provider.new_default_account_api_enabled

Change-Id: I3ca2a7a0905118c7a3a47fe4573781ae86c246bd
2024-11-05 23:25:02 +00:00
Chelsea Hao
bade0e096d Merge "Add summary for auto on toggle in settings." into main 2024-11-05 04:08:42 +00:00
Riley Jones
9da198115f Merge "Fixes searchability for timeout settings page." into main 2024-11-04 21:10:38 +00:00
Riley Jones
af080edfe0 Merge "Fixes searchability for autoclick settings page" into main 2024-11-04 20:23:58 +00:00
Treehugger Robot
ed0da93fbf Add summary for auto on toggle in settings.
Test: atest
Bug: b/375985757
Flag: EXEMPT minor fix
Change-Id: I1c58f0510f00a33f22677ea4415478aa2bba4cea
2024-11-04 06:41:02 +00:00
Sunny Shao
369263156b [Catalyst] Migrate Adaptive brightness in the DisplayScreen
Migrate the AutoBrightnessPreferenceController to be a Catalyst type preference.

Test: atest AutoBrightnessScreenTest
Bug: 374712065
Flag: com.android.settings.flags.catalyst_screen_brightness_mode
Change-Id: I80d17a4f7fae237825ab84d1f428614affcb9065
2024-11-03 09:40:22 +08:00
Riley Jones
400d90a0f6 Fixes searchability for timeout settings page.
Bug: 352634232
Test: Manually install & veryfy conditions described in above bug
Flag: EXEMPT xml-only change
Change-Id: If0002a649952f45514d2e2971d742bb4cc1e1191
2024-11-01 03:05:04 +00:00
Riley Jones
ce713f8cd3 Fixes searchability for autoclick settings page
Bug: 352643805
Test: Manually install & veryfy conditions described in above bug
Flag: EXEMPT xml-only change
Change-Id: I6f20bc926ba9420b0f94ec41c5f32c49b26adc4c
2024-10-31 19:26:03 +00:00
Treehugger Robot
cf9bccdc2a Merge "[Catalyst] Migrate Brightness level" into main 2024-10-31 16:11:26 +00:00
Treehugger Robot
b0e3c959ec Merge "[Catalyst] Create airplane mode preference" into main 2024-10-31 15:50:01 +00:00
Sunny Shao
77aa48fe0b [Catalyst] Migrate Brightness level
Test: atest DisplayScreenTest
Bug: 375895862
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: Ia098e107e0e9f011db6742cc8d0ebecfc179cca6
2024-10-31 20:09:52 +08:00
Treehugger Robot
e616136902 Merge "[Screen off unlock UDFPS] Fingerprint Settings integration 2/2" into main 2024-10-30 20:45:14 +00:00
Yuchen Sun
34a378ecc5 Merge "[Catalyst] Migrate AdaptiveConnection preference." into main 2024-10-30 04:25:16 +00:00
Daniel Huang
623be9471d Merge "[ToA] Use radio button style for single selection" into main 2024-10-30 03:03:13 +00:00
Yuchen
101f0f7463 [Catalyst] Migrate AdaptiveConnection preference.
Bug: 368355361
Flag: com.android.settings.flags.catalyst_adaptive_connectivity
Test: Manual testing
atest -c AdaptiveConnectivityTogglePreferenceTest;
atest AdaptiveConnectivityScreenTest

Change-Id: I29e6d037ce5acbe03970aa519357ee1e4c021dbe
2024-10-30 02:43:35 +00:00
lbill
88cf7037b0 [Screen off unlock UDFPS] Fingerprint Settings integration 2/2
1. Integrate FingerprintSettings with Toggle
2. Sync the Toggle state with SettingProvider key
   "screen_off_unlock_udfps"

Reference: go/udfps-aof #Settings UI design(Deck)

Bug: 373792870
Bug: 369939804
Bug: 369938501
Flag: android.hardware.biometrics.screen_off_unlock_udfps
Test: atest FingerprintSettingsFragmentTest
    atest DevelopmentSettingsDashboardFragmentTest
    atest FingerprintSettingsUnlockCategoryControllerTest
    atest FingerprintSettingsScreenOffUnlockUdfpsPreferenceControllerTest
Test: adb shell settings put secure
      screen_off_unlock_udfps <1|0>
Change-Id: I03794f53684bfb60b4a854e14507e67f60c55a7d
2024-10-30 02:29:43 +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
Weng Su
7557a48e2e [Catalyst] Create airplane mode preference
Bug: 375925972
Flag: com.android.settings.flags.catalyst_network_provider_and_internet_screen
Test: Manual testing
atest -c AirplaneModePreferenceTest
atest -c VpnPreferenceControllerTest

Change-Id: Icf0bb9dfc1a8bda7a001f2ad3c6d6b835c489c0d
2024-10-28 03:54:30 +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