Commit Graph

6971 Commits

Author SHA1 Message Date
Shawn Lin
d40442c91f Merge "[Biometric Onboarding & Edu] Update face settings page" into main 2025-02-05 02:52:09 -08:00
Shawn Lin
d747235a4c [Biometric Onboarding & Edu] Update face settings page
- Added a feature provider for face settings page in FaceFeatureProvider
  for customization
- When face is deleted, disabled the settings buttons instead of hiding
  them.
- Updated new UX style for add/remove face button.

Bug: 370940762
Test: atest FaceSettingsEnrollButtonPreferenceControllerTest
            FaceSettingsFooterPreferenceControllerTest
Test: manual - 1. Enroll face
               2. Go Face Settings page and remove face
	       3. Enroll face again
Flag: com.android.settings.flags.biometrics_onboarding_education

Change-Id: I490e647523eeff2dd1a58aab07f638e3e5e0ffb8
2025-02-05 00:57:40 -08:00
Jeff DeCew
6aa546ceb9 Merge "Add minimalism illustrations to the lock screen notifications settings page" into main 2025-02-04 18:57:23 -08:00
Yining Liu
466e16bfc9 Add minimalism illustrations to the lock screen notifications
settings page

Add static version minimalism illustrations to the lock screen
notifications settings page. We still need to replace the icons.

In the final version, illustrations will combine the light and dark
versions into a single file. The current status is a middle stage
stands for team fooding. The final version illustrations will also be
animations instead of static.

Bug: 367455695
Bug: 383778222
Flag: com.android.server.notification.notification_lock_screen_settings
Test: manual
Change-Id: I63c0452de60ce1aa94c7b414cb6e81dd98c5f361
2025-02-04 15:11:54 -08:00
Julia Reynolds
55441003d3 Add app level settings for classification and summarization
Test: AdjustmentKeyPreferenceControllerTest
Flag: android.app.nm_summarization
Flag: android.app.notification_classification_ui
Flag: android.app.nm_summarization_ui
Bug: 377697346
Bug: 390412878
Change-Id: I85b67b5c0376ee4cd962e26bf178aae6fa712212
2025-02-04 10:53:57 -08:00
Yomna N
6cd518057a Merge "Fix missing controller key and remove onCreatePreferences" into main 2025-02-03 08:26:41 -08:00
Treehugger Robot
c2312bafed Merge "Add search keywords to touchpad settings." into main 2025-02-03 05:35:59 -08:00
yomna
3e071f055e Fix missing controller key and remove onCreatePreferences
1) A missing controller key for CellularSecurityEncryptionDividerController
was causing the corresponding UI element's getAvailabilityStatus to not
be called. 2) The inclusion of onCreatePreferences in
CellularSecuritySettingsFragment was causing other UI element's
controllers to not be called correctly.

Bug: b/373942609
Test: atest CellularSecurityPreferenceControllerTest
Test: atest CellularSecurityEncryptionDividerControllerTest
Flag: EXEMPT bugfix
Change-Id: Ic01a609311d7bd84ee835ffbede793fe2d7756ae
2025-01-31 01:25:46 +00:00
Riley Jones
6e12194015 Merge "Disabling elements on the A11y Shortcut setting subpage" into main 2025-01-28 13:24:42 -08:00
Michael Checo
3c357edc9f Merge "Reference correct controller in mouse pointer speed slider" into main 2025-01-27 10:37:27 -08:00
Michael Checo
09fa6131cb Reference correct controller in mouse pointer speed slider
Bug: 392153750
Test: Verified on DUT
Flag: EXEMPT refactor
Change-Id: I13351720e441483ab373e81198c3f113fbd41ea1
2025-01-27 10:37:05 -08:00
Treehugger Robot
532bd7f19e Merge "Add initial settings for summarization" into main 2025-01-27 07:04:49 -08:00
Julia Reynolds
50e720b03b Add initial settings for summarization
Test: SummarizationGlobalPreferenceControllerTest
Test: SummarizationPreferenceControllerTest
Flag: android.app.nm_summarization
Bug: 390415383
Change-Id: I773d69c707ae5f902860196fb44821ede15261f5
2025-01-27 05:54:01 -08:00
Riley Jones
94621548c1 Disabling elements on the A11y Shortcut setting subpage
Elements on the subpage get disabled if there are no enabled shortcut targets for the relevant type.
In the case of A11y button, the items on its fragment become unsearchable when the setting is disabled.

Test: Manually verify conditions described above & in bug
Bug: 349180207
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Change-Id: Id39e2eda6c9d1de4cdbfcbc22b8a1f443e2822d9
2025-01-24 00:59:25 +00:00
Pierre Barbier de Reuille
8a42cd7171 Add the new Desktop Experience dev options
This option, when available, replaces the enable freeform ones.

Bug: 390625230
Bug: 389092752
Test: atest DesktopExperiencePreferenceControllerTest
Test: atest DesktopModeSecondaryDisplayPreferenceControllerTest
Test: atest DesktopModePreferenceControllerTest
Test: atest FreeformWindowsPreferenceControllerTest
Flag: com.android.window.flags.show_desktop_experience_dev_option
Change-Id: Ib2eaa99fab1fbcae6ed9afa997cfe92676a75c70
2025-01-23 11:01:11 +00:00
Treehugger Robot
3d626d8e8b Merge "Partial flag clean up: Remove large mouse pointer in A11y Setting screen" into main 2025-01-22 10:13:34 -08:00
Ben Murdoch
d583344b06 Add search keywords to touchpad settings.
This was lost in the migration from touchpad to touchpad and mouse
settings.

Bug: 300611520
Flag: EXEMPT bugfix
Test: Manual inspection
E# Please enter the commit message for your changes. Lines starting

Change-Id: Ie4cbebc6b72cbd3df41970c07df8e9bdddd22046
2025-01-22 15:58:09 +00:00
Yiyi Shen
a618a8a241 Merge "[Audiosharing] Move entry preference out of group category" into main 2025-01-22 01:09:08 -08:00
Shawn Lin
047c38856a Merge "[Biometric Onboarding & Edu] move screen lock settings to choose lock" into main 2025-01-21 22:34:40 -08:00
Shawn Lin
d6df87cca6 [Biometric Onboarding & Edu] move screen lock settings to choose lock
- Hide gear menu in LockScreenSafetySource
- Move screen lock settings to ChooseLockGeneric

Bug: 370940762
Test: atest ScreenLockPreferenceDetailsUtilsTest
Flag: com.android.settings.flags.biometrics_onboarding_education

Change-Id: I07c7bb16ecc2ea6e7cd64a4e1d6bf4f493c5b951
2025-01-22 03:28:19 +00:00
Yvonne Jiang
b3c8c71fb3 Initial skeleton of new "Supervision" settings screen with top-level entry point.
Intake bug: b/379312924

Test: atest SupervisionDashboardScreenTest
Test: atest SupervisionMainSwitchPreferenceTest
Test: manually on real device
Bug: 383568136
Change-Id: I6bb8aa432c1b4527cec0f4c2593fd1494975503d
Flag: android.app.supervision.flags.enable_supervision_settings_screen
2025-01-21 10:54:57 -08:00
YK Hung
3770da60da Merge "[Expressive Battery] In Battery screen, split items into different category" into main 2025-01-21 07:09:27 -08:00
mxyyiyi
3ad21788be [Expressive Battery] In Battery screen, split items into different category
- For experssive style, items split into 2 groups. Item "battery percentage" for a single group.
- For original style, reorder the items, sort item "battery percentage" at the last.

Bug: 349652542
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I4a163d075ecd94a8079839dc0ad34dd993a7c725
2025-01-21 17:49:59 +08:00
Ze Li
0a5a225bb3 Merge "[Temp bonding] Add guest device section to connected device page." into main 2025-01-21 00:13:58 -08:00
Yiyi Shen
5a8e10bbe3 [Audiosharing] Move entry preference out of group category
Test: atest
Bug: 305620450
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I0573c9c35c05ca7915f94e6f67064cc5b3d79fec
2025-01-20 19:12:21 -08:00
Ze Li
2141d62f95 [Temp bonding] Add guest device section to connected device page.
Test: com.android.settings.connecteddevice.audiosharing.TemporaryBondDeviceGroupControllerTest, com.android.settings.connecteddevice.audiosharing.TemporaryBondDeviceGroupUpdaterTest
Bug: 362859132
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Change-Id: I699ac451e4d1570173ad527658d6aeab70ce354b
2025-01-20 17:32:40 +08:00
Zoey Chen
580fd5ded9 Merge "[Settings] Show intro preference in numbering system as well" into main 2025-01-19 21:17:08 -08:00
Shawn Lin
162c250e6a Merge "[Biometric Onboarding & Edu] Support ways to use section for Face & FP" into main 2025-01-19 19:05:07 -08:00
Michael Checo
c19ccd3bed Merge "Add preference toggle for touchpad acceleration setting" into main 2025-01-17 15:19:57 -08:00
Treehugger Robot
7ce118d601 Merge "Remove MEDIA_CONTROLS_RECOMMENDATION setting toggle" into main 2025-01-17 12:56:52 -08:00
Treehugger Robot
07eca37281 Merge "[Catalyst] Rollback the Adaptive brightness key" into main 2025-01-17 06:31:32 -08:00
Sunny Shao
03de6af4fc [Catalyst] Rollback the Adaptive brightness key
Let the redirect highlight function work from Turbo app.

NO_IFTTT=Catalyst migration

Test: devtool, atest AutoBrightnessScreenTest
Bug: 390525596
Flag: com.android.settings.flags.catalyst_display_settings_screen
Change-Id: Id7261d8a51368c45b7e23fee911565a226b30779
2025-01-17 08:27:02 +00:00
Jean Chen
fb0e99f905 Merge "Update HCT strings to Text outlines after UXW feedback." into main 2025-01-16 20:00:08 -08:00
Yining Liu
8b94618dd8 Merge "Notification on lockscreen settings: add WhatToShowController" into main 2025-01-16 15:38:58 -08:00
Daniel Norman
c0d57d06b7 Update HCT strings to Text outlines after UXW feedback.
Fix: 384791485
Test: see screenshots in bug
Flag: EXEMPT resource only strings change
Change-Id: I8f3f5bdd93cc13b308b155e45e2ea97e03257abc
2025-01-16 23:10:15 +00:00
Yining Liu
50577a6c36 Notification on lockscreen settings: add WhatToShowController
Add WhatToShowController to handle the visibility change of the
preference category when the global setting changes.

Bug: 367455695
Flag: com.android.server.notification.notification_lock_screen_settings
Test: manual
Change-Id: I432e4c865402ac8bee32f0f79b3cf2bdce7cc882
2025-01-16 16:11:33 +00:00
Beth Thibodeau
a7e709c07c Remove MEDIA_CONTROLS_RECOMMENDATION setting toggle
Bug: 382680767
Flag: EXEMPT removing deprecated code
Test: build, check media settings page
Change-Id: I6beaafc7b33e4cb0b29c89cc07ce421c32bf4563
2025-01-16 09:14:00 -06: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
Chun-Ku Lin
38ed880811 Partial flag clean up: Remove large mouse pointer in A11y Setting screen
Customization on mouse pointer has been moved to other screen, which is
released in 24Q4. Cleaning up the reference in a11y settings earlier for
cleaner ColorAndMotionScreen catalyst migration.

Bug: 346358375
Flag: EXEMPT partial clan up on android.view.flags.enable_vector_cursor_a11y_settings
Test: build succeed
Change-Id: Ie5c22f6cd1a55102240a86e13f17591e29ddbbf8
2025-01-15 23:29:51 +00:00
Michael Checo
f47182fe0c Add preference toggle for touchpad acceleration setting
Bug: 387184135
Test: verified on DUT
Flag: com.android.hardware.input.pointer_acceleration
Change-Id: Ic49af4676eaeca6135296fa825d28c8a52af7dc2
2025-01-15 17:59:50 +00:00
Treehugger Robot
eb927665a3 Merge "24Q4: Removal of a2dp_offload_codec_extensibility_settings" into main 2025-01-15 01:05:14 -08:00
Jakub Rotkiewicz
2c869d337c 24Q4: Removal of a2dp_offload_codec_extensibility_settings
Bug: 323319530
Fix: 323319530
Flag: EXEMPT removing com.android.settings.development.a2dp_offload_codec_extensibility_settings
Test: atest SettingsRoboTests
Change-Id: If9c710c0aaed7326b32dd2e7d5f3109de4047b97
2025-01-15 07:43:45 +00:00
Ajay Dudani
25cd3be6e8 Merge "Settings: TTS: Use a more accurate SliderPreference for speech rate and pitch" into main 2025-01-14 07:50:12 -08:00
Shawn Lin
2b8a202028 [Biometric Onboarding & Edu] Support ways to use section for Face & FP
Move "Ways to use" section from "Face & Fingerprint Unlock" page to
"Face unlock" & "Fingerprint unlock" pages which means Face &
Fingerprint settings now have their own "Unlock your phone" & "Verify
it's your in app" settings.

Bug: 370940762
Test: atest FaceSettingsAppsPreferenceControllerTest
            FaceSettingsKeyguardUnlockPreferenceControllerTest
	    FingerprintSettingsAppsPreferenceControllerTest
	    FingerprintSettingsKeyguardUnlockPreferenceControllerTest
	    FingerprintSettingsFragmentTest
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I702da9bb9415b6deb741132ccde6b8be7ae38de0
2025-01-14 05:35:53 +00:00
Yuhan Yang
a12887ff9c Merge "Add mouse scrollling speed slide bar" into main 2025-01-13 19:37:02 -08:00
Wenyu Zhang
d683d18132 a11y: Add "Ignore minor cursor movement" autoclick setting
When "Ignore minor cursor movement" is on, the small cursor movement
within the cursor area ring will not interrupt the autoclick timer.

Screenshot: http://b/388845718#comment2

Change-Id: Ib6a8ca8463358a3e2de5ae6be8afd5113a5826ba
Test: ToggleAutoclickIgnoreMinorCursorMovementControllerTest
Bug: b/388845718
Flag: com.android.server.accessibility.enable_autoclick_indicator
2025-01-13 21:31:03 +00:00
Jason Chang
a2e9335724 Merge "Update Fingerprint adding button with expressive design" into main 2025-01-10 09:45:14 -08:00
Julia Reynolds
e62afe5aa9 Merge "Layout improvements for notification pages" into main 2025-01-10 06:28:18 -08:00
Wenyu Zhang
aea94181aa Merge "a11y: Initialize slider position with cursor area size setting" into main 2025-01-09 17:58:57 -08:00
Wenyu Zhang
e031b30d1d a11y: Initialize slider position with cursor area size setting
When the preference loads, initialize the slider position using the
cursor area size value from settings.

In addition, match slider seekbar range and the cursor area size range.

Change-Id: Ib6a8ca8463358a3e2de5ae6be8afd5113a5826be
Bug: b/383901288
Test: ToggleAutoclickCursorAreaSizeControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
2025-01-09 22:31:17 +00:00