Commit Graph

31993 Commits

Author SHA1 Message Date
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
Treehugger Robot
e1bdd8045b Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-29 18:17:35 +00:00
Treehugger Robot
c59fb0904d Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-29 18:17:35 +00:00
Bill Yi
6c2eb686a4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I179baafe0802dbe92898d3d2503104c56dbc803a
2024-10-29 05:56:44 -07:00
Bill Yi
e3a89c38a3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia78b80b8647ad76cc761703cf2290ebd159897d6
2024-10-29 05:55:07 -07: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
Jay Wang
3c800744cb Merge "Add battery replacement strings" into main 2024-10-29 01:21:27 +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
Jay Wang
2bb1c55314 Add battery replacement strings
Flag: EXEMPT bugfix
Test: local test
Change-Id: Ifcc187d9cd230e8b8aacf3a5fd2aeea09ee19494
2024-10-28 09:36:19 +00:00
chelseahao
ae7acae24c Show error message when inputting invalid audio sharing password.
Test: atest
Bug: b/356071394
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I6e1ff6d32175ad6e4286db922645d608a2708c45
2024-10-28 09:18:02 +00: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
Matías Hernández
a9e8225ba4 Update summary of Modes entry in Settings
Instead of the number of automatic modes, simply list the first (up to 3) existing modes, according to the standard sort order, when none are active.

As a consequence, the summary is never empty now.

Fixes: 374179941
Test: atest ZenModeSummaryHelperTest + manual
Flag: android.app.modes_ui
Change-Id: I04f9d90a5e1e4ed13d66181b85d77fef8c6ff256
2024-10-24 16:18:50 +02:00
Treehugger Robot
010fbe033c Merge "Add WifiCallingScreen and corresponding TS flag" into main 2024-10-24 04:00:14 +00:00
Haijie Hong
d260f67aac Merge "Update backgroundcolor of advanced bt header image" into main 2024-10-24 03:31:25 +00: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
Matías Hernández
5c751da617 Merge "Change the icon in the trigger segment for TYPE_DRIVING modes" into main 2024-10-23 18:06:09 +00:00
Treehugger Robot
19c977a03a Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-23 17:35:00 +00:00
Treehugger Robot
024e643b85 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-10-23 17:35:00 +00:00
Matías Hernández
1694adb1aa Change the icon in the trigger segment for TYPE_DRIVING modes
Use the "settings gear" icon instead of the "car" icon.

Fixes: 369326738
Test: manual
Flag: android.app.modes_ui
Change-Id: I49d7089558fcd0b9e02020a8ad215bc23ebb8e0e
2024-10-23 16:13:57 +00:00
Yiyi Shen
56d56c4450 Merge "[Audiosharing] Update button background radius" into main 2024-10-23 10:07:56 +00: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
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