Commit Graph

13362 Commits

Author SHA1 Message Date
Hani Kazmi
95aa9f0093 Merge "[AAPM] Add help uri" into main 2025-01-30 08:56:55 -08:00
Hani Kazmi
3bfa1734b4 [AAPM] Add help uri
This URL is used by the Advanced Protection dialog to point users to the
AAPM settings page. The resource is empty by default and should be
overriden to get the "Learn More" link to show

Bug:389080341
Test atest GtsFeaturesTestCases
Flag: EXEMPT resource only

Change-Id: I3a9b02c33ba1366a4ca9539f41c0a7da2cac030b
2025-01-30 08:55:54 -08:00
Shawn Lin
99ff9245a6 Merge "[Gaze] Support Gaze" into main 2025-01-29 06:40:44 -08:00
Riley Jones
6e12194015 Merge "Disabling elements on the A11y Shortcut setting subpage" into main 2025-01-28 13:24:42 -08:00
Zhou Liu
56170c3f53 Merge "Create "Manage PIN" settings UI menu" into main 2025-01-28 10:48:39 -08:00
William Leshner
5035bede60 Merge "Add "Hub Mode" settings to mobile settings." into main 2025-01-27 20:28:02 -08:00
Zhou Liu
82356f6e93 Create "Manage PIN" settings UI menu
Test: atest SupervisionPinManagementScreenTest
Test: manually on real device
Bug: 390186179
Flag: android.app.supervision.flags.enable_supervision_settings_screen
Change-Id: Ib53dce2a32fe9551e8877145a61c8834505d389d
2025-01-28 01:12:22 +00: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
Treehugger Robot
fe44ea6c87 Merge "Add the new Desktop Experience dev options" into main 2025-01-24 16:27:43 -08:00
Shawn Lin
33863f8eda [Gaze] Support Gaze
- Add gaze configs and resources
- Extract the logic for setting/getting gaze out from
  FaceSettingsAttentionPreferenceController to FaceAttentionController

Bug: 388686801
Test: make
Flag: com.android.settings.flags.biometrics_onboarding_education

Change-Id: I2f45c7b01674a28f7f02f614292331ced355cc6f
2025-01-24 00:57:36 -08:00
Matthew DeVore
1fb8fb0b4f Show border highlight when dragging display
In the process of adding highlight we use an extra feature of
LayerDrawable to add insets so that we can add padding without changing
the actual dimensions or position of the DisplayBlock Views.

To make it easier to keep the values consistent and to aid in conversion
between px and dp, use dimen values to store padding and highlight
metrics.

Bug: b/352650922
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: atest DisplayTopologyPreferenceTest.kt
Change-Id: I51ff2ce4a086e84a0c529346f8ede90430090b11
2025-01-23 23:26:53 -06: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
Will Leshner
f5a840c417 Add "Hub Mode" settings to mobile settings.
Bug: 389782624
Test: atest CommunalPreferenceControllerTest
WhenToDreamPreferenceControllerTest
Flag: com.android.settings.flags.enable_hub_mode_settings_on_mobile

Change-Id: Ic823b43e094722e467bcca5c16fc480af11e2d9e
2025-01-22 10:12:31 -08: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
Matthew DeVore
7bada83969 Merge "external displays: mirror/extend switch" into main 2025-01-21 10:08:15 -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
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
Matthew DeVore
8f051ce5d4 external displays: mirror/extend switch
Add a mirror/extend built-in display switch. Make minor changes to
DisplayTopology.kt for consistency and correctness.

Kotlin requires the two preference key names are different since they
are in the same namespace, so fix the name in the existing
DisplayTopology.kt module.

Make DisplayTopologyPreference responsible, rather than the caller, for
setting its persistence property, since a wrong value may cause unusual
behavior.

The setOrder calls are necessary to prevent the new switch from
appearing below the Built-in display category when a display is
hot-plugged in after showing the UI. We set them on all top-level
preferences (not just the two we are fixing) for consistency.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: atest ExternalDisplayPreferenceFragmentTest.java
Bug: b/352648432
Bug: b/366056921
Change-Id: Ib0072dd75066758903cc48c2d1e7142e1d921f67
2025-01-17 21:19:22 +00:00
Treehugger Robot
7ce118d601 Merge "Remove MEDIA_CONTROLS_RECOMMENDATION setting toggle" into main 2025-01-17 12:56:52 -08:00
Randy Pfohl
857777b7d5 Merge "update string to remove duplicate accessibility readout" into main 2025-01-17 10:41:24 -08:00
Randy Pfohl
4384745517 update string to remove duplicate accessibility readout
bug: 386688984

Test: built locally

Flag: NONE not needed

Change-Id: Ie8e0c25a753bd7dacb9145b58dbffc5f89ff6808
2025-01-17 16:52:40 +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
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
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
Zoey Chen
cc0c66a7ee Merge "[Settings] Create new controller for app language: suggested locale" into main 2025-01-16 00:29:41 -08:00
Zoey Chen
1daa1bb380 [Settings] Create new controller for app language: suggested locale
Bug: 388199937
Test: manual
Flag: EXEMPT refactor
Change-Id: I45ddbfb460365e3ff4858de0c0411c7a46d49302
2025-01-16 06:58:44 +00:00
Lorenzo Lucena Maguire
30943c6984 Merge "Update Double Press Power Button settings Strings" into main 2025-01-15 17:07:43 -08:00
Lorenzo Lucena Maguire
537a0d5257 Update Double Press Power Button settings Strings
Test: atest
Bug: 389122652
Flag: EXEMPT xml only
Change-Id: I35136be0292b91c276928bb7138e5aecc6d0ec33
2025-01-15 23:40:21 +00: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
48eb83affc Merge "Enhance contrast ratio for factory reset page" into main 2025-01-15 01:53:52 -08:00
Treehugger Robot
cc4a8539b9 Merge "Update background color for Settings homepage" into main 2025-01-14 23:55:47 -08:00
Mill Chen
24c7b78014 Enhance contrast ratio for factory reset page
The current contrast ratio is lower than 4.5. Update the background
color to fix it.

Fix: 379816159
Test: visual test
Flag: EXEMPT bug fix
Change-Id: I1f896b678903966de8bffd6a371c590337c091cb
2025-01-15 05:57:49 +00:00
Mill Chen
0dc355930f Update background color for Settings homepage
Fix: 317163103
Test: visual verify
Flag: EXEMPT bug fix
Change-Id: I121dc44181c9c3d6cd1b46ee444371050337186b
2025-01-15 05:45:59 +00: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
1d45cd7ac0 Merge "a11y: Add "Ignore minor cursor movement" autoclick setting" into main 2025-01-13 15:41:02 -08:00
Simon Wingrove
88d40f1c1f Merge "Split biometrics resource into three." into main 2025-01-13 14:35:20 -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
Lorenzo Lucena Maguire
693d6946a3 Merge "Update Strings for Double Press Power Button Gesture" into main 2025-01-13 11:03:12 -08:00
Lorenzo Lucena Maguire
63b02907cc Update Strings for Double Press Power Button Gesture
Android Settings Feature Request: b/380287172

Test: manually verified strings updated
Flag: EXEMPT xml only
Bug: 389122652
Change-Id: I0e683f87364145690229c1c73dc56f6c8b119c62
2025-01-10 20:13:48 +00:00
Jan Tomljanovic
406b5dface Split biometrics resource into three.
Bug: 388476345
Test: Treehugger
Flag: com.android.settings.flags.biometrics_onboarding_education
Relnote: N/a
Change-Id: Ie6761f318e64e1cf2782c538d7b6af5b5094faa1
2025-01-10 17:21:13 +00:00
Julia Reynolds
e62afe5aa9 Merge "Layout improvements for notification pages" into main 2025-01-10 06:28:18 -08:00