Commit Graph

23874 Commits

Author SHA1 Message Date
Angela Wang
71f4b0f8e3 Offer a way to hide LE Audio toggle for ASHA device
Flag: EXEMPT bugfix
Bug: 390070780
Test: atest BluetoothDetailsProfilesControllerTest
Test: manually check on real device
Change-Id: I078403f7071c1011acbedae2d1d0e55783cc0661
2025-01-20 06:25:10 +00:00
Menghan Li
48a229cb88 Merge "chore(magnification suw): Hide feedback preference in setup wizard" into main 2025-01-19 21:50:38 -08:00
Menghan Li
4c9bf742bf chore(magnification suw): Hide feedback preference in setup wizard
Bug: 380346799
Flag: com.android.server.accessibility.enable_low_vision_hats
Test: atest MagnificationFeedbackPreferenceControllerTest
            MagnificationFollowTypingPreferenceControllerTest
            MagnificationJoystickPreferenceControllerTest
            MagnificationOneFingerPanningPreferenceControllerTest
            ToggleScreenMagnificationPreferenceFragmentTest
Change-Id: I84f673235a8a4d97667edaabf72d46b985f33351
2025-01-19 20:00:58 -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
Joy Babafemi
d3807e554d Credential Manager Settings Improvement Bug fixes
Bug: 372715083
Flag: Flag EXEMPT manual tests
Change-Id: I386bc590955d762af0370e7ff5d6fbece55b564d
2025-01-18 01:29:49 +00:00
Matthew DeVore
515a2ef2fa Do not shrink topology pane after a drag
Changing the height of the pane causes UI elements below it to shift
around. Allow it to grow when needed but do not shrink once it has
grown.

Test: atest TopologyScaleTest.kt
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352650922
Change-Id: I1a3e0ab77b05c5a4337e3e8ab865a974eb1faeda
2025-01-18 00:51:17 +00: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
Treehugger Robot
0035c28540 Merge "Ensure Private profile is present in tests in the FaceFingerprintUnlockControllerTest and re-enable ignored tests." into main 2025-01-17 12:48:26 -08:00
Kasia Krejszeff
39329c219d Ensure Private profile is present in tests in the FaceFingerprintUnlockControllerTest and re-enable ignored tests.
Bug: 323652985
Flag: TEST_ONLY
Test: atest FaceFingerprintUnlockControllerTest
Change-Id: I0c923a95b8b7cf1320b68818e831dea5bb7510bf
2025-01-17 11:45:50 -08:00
Matthew DeVore
b9ea2e327f DisplayTopology: user cannot drag only display
When dragging a single display, we don't constrain the position of the
display, and the user can drag it anywhere on the fragment. As such we
need to either prevent the drag or refresh the pane always if there is
only one display. This CL chooses the former.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: atest DisplayTopologyPreferenceTest.kt
Bug: b/352650922
Change-Id: Icb101b734ce9b88435f64a71bf77f878f9b230e0
2025-01-17 18:17:17 +00:00
Joshua Mccloskey
496dcd3eb7 Merge "Pattern a11y fix" into main 2025-01-17 09:12:56 -08:00
Treehugger Robot
07eca37281 Merge "[Catalyst] Rollback the Adaptive brightness key" into main 2025-01-17 06:31:32 -08:00
Yiyi Shen
d77fd9689e [Audiosharing] Avoid popup dialog when broadcast start in SysUI
Test: atest
Bug: 305620450
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I447aeb7e9646a5f9278fd2def8a2a9e6a59ac47e
2025-01-17 17:51:47 +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
Ze Li
6237fd2826 Merge "[Temp bonding] Updater for the guest list to store temp bond device" into main 2025-01-16 23:20:21 -08:00
Yining Liu
8b94618dd8 Merge "Notification on lockscreen settings: add WhatToShowController" into main 2025-01-16 15:38:58 -08:00
Wenyu Zhang
c29bde48a7 Merge "a11y: Hook ignore minor cursor movement setting to its controller" into main 2025-01-16 14:45:21 -08:00
Joshua McCloskey
ab58cb91a9 Pattern a11y fix
Test: Verified that the next button is no longer disabled, user can
click it
Fixes: 376175416
Flag: EXEMPT bugfix

Change-Id: I30fd80d96b8702e1c8b4bc50dad4c486b220a531
2025-01-16 14:39:44 -08: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
Wenyu Zhang
4de40b3959 a11y: Hook ignore minor cursor movement setting to its controller
Change-Id: I2c0ac1c36cc600f551d2a89ab3ec6d1405ac58d9
Test: ToggleAutoclickIgnoreMinorCursorMovementControllerTest
Bug: b/388845718
Flag: com.android.server.accessibility.enable_autoclick_indicator
2025-01-16 13:11:46 +00:00
Ze Li
13b63904b8 [Temp bonding] Updater for the guest list to store temp bond device
Test: com.android.settings.connecteddevice.audiosharing.TemporaryBondDeviceGroupUpdaterTest
Bug: 362859132
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Change-Id: Ic0be83ac0f021988e4c2a2020106055889e3308d
2025-01-16 19:04:33 +08:00
Treehugger Robot
03556af237 Merge "[Catalyst] Keep activity title in sync with PreferenceFragment" into main 2025-01-15 22:33:10 -08:00
Jacky Wang
8672a5e2ef [Catalyst] Keep activity title in sync with PreferenceFragment
Fix: 390135885
Flag: com.android.settings.flags.catalyst
Test: manual
Change-Id: I0a8edbc6fa2a13d653a85ddfe36bd551e09796f8
2025-01-16 12:26:13 +08:00
Chelsea Hao
97ccf7d696 Merge "Use LocalBluetoothLeBroadcastSourceState." into main 2025-01-15 19:11:20 -08:00
Jacky Wang
22ce449414 [Catalyst] Update metrics logging for AirplaneModePreference
NO_IFTTT=Catalyst only

Bug: 386330825
Bug: 389886085
Flag: com.android.settings.flags.catalyst
Test: atest
Change-Id: I1d1fced2e24bd10839dd8f29a6fdd6f0bd04667c
2025-01-16 07:30:38 +08:00
Jacky Wang
22d3b0420e [Catalyst] Setup metrics logger for preference ui action
Bug: 389886085
Flag: com.android.settings.flags.catalyst
Test: atest&manual
Change-Id: I8c3ce6cbdeeefe7857132a40ea486d0f56928d7a
2025-01-16 07:30:38 +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
Riley Jones
e5649f2ca6 Merge "Cleanup qs shortcut flag in OneHandedSettingsUtils" into main 2025-01-15 10:51:57 -08:00
Vitor Carvalho
387268db8c Update ParentalControlsUtils to call the new internal API that is aware of SupervisionManager, introduced in ag/31120568.
Bug: 382038943
Flag: android.app.supervision.flags.deprecate_dpm_supervision_apis
Test: atest ParentalControlsUtilsTest
Change-Id: I884aa5f90a298c5e3e0fe85a5944d75234846140
2025-01-15 14:05:11 +00:00
Yiyi Shen
9c1447536a Merge "[Audiosharing] Use setBroadcastToUnicastFallbackGroup to set primary" into main 2025-01-15 02:34:03 -08:00
chelseahao
47fcd60315 Use LocalBluetoothLeBroadcastSourceState.
Test: atest
Bug: 308368124
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ic49a6782b63c91e95dd16898b5443585068e45f0
2025-01-15 01:33:49 -08:00
Treehugger Robot
eb927665a3 Merge "24Q4: Removal of a2dp_offload_codec_extensibility_settings" into main 2025-01-15 01:05:14 -08:00
Yiyi Shen
27e4fcc6c6 [Audiosharing] Use setBroadcastToUnicastFallbackGroup to set primary
Flag: com.android.settingslib.flags.adopt_primary_group_management_api
Test: atest
Bug: 381946931
Change-Id: Ib06dd2e202b07b9cdb25b1a671ee4d57246415ba
2025-01-15 15:55:07 +08:00
Jakub Rotkiewicz
1dda4f5526 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
Merged-In: If9c710c0aaed7326b32dd2e7d5f3109de4047b97
Change-Id: I3fad2d0b5b356afd3524ef9ddc0cf1ccbaed9eb4
2025-01-15 07:52:37 +00:00
Jakub Rotkiewicz
672fcd51ab developer settings: remove unused a2dp Preference
Bug: 329809288
Flag: EXEMPT - unused code
Test: m -j
Merged-In: Ibd526fffddf5ea545afc437a5daee12bb1cf8746
Change-Id: Ie219247e1fd0fd92407c04d5d775a685a13467c4
2025-01-15 07:49:22 +00: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
Jakub Rotkiewicz (xWF)
15b146e3ed Merge "developer settings: remove unused a2dp Preference" into main 2025-01-14 23:16:50 -08:00
Treehugger Robot
2af2cfb887 Merge "Following up on comments from ag/31234899." into main 2025-01-14 12:51:21 -08:00
Angela Wang
e87733be63 Merge "Show ambient volume contrl only for hearing devices" into main 2025-01-13 22:44:41 -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
Riley Jones
9e890a93f8 Cleanup qs shortcut flag in OneHandedSettingsUtils
Test: atest OneHandedSettingsUtilsTest
Bug: 367414968
Flag: EXEMPT flag cleanup
Change-Id: Ic906bd025ea9df7c5b083899608be4e1324ae317
2025-01-14 01:29:00 +00:00
Elliot Sisteron
2603d5ed75 Following up on comments from ag/31234899.
Lmk if I missed anything.

Bug: 388476345
Change-Id: If4d789abeb984eb0aad7d10dff9b8a366d2f5df1
Test: Treehugger
Flag: com.android.settings.flags.biometrics_onboarding_education
Relnote: N/a
2025-01-13 15:48:22 -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
Haijie Hong
ffb64450e0 Merge "Fix exception in key missing dialog when rotating screen" into main 2025-01-13 02:45:18 -08:00
Haijie Hong
f761a30040 Fix exception in key missing dialog when rotating screen
BUG: 387915075
Test: atest BluetoothKeyMissingDialogTest
Flag: com.android.settings.flags.enable_bluetooth_key_missing_dialog
Change-Id: I966954f27d074a5ca0dc329cb142c1ab66b3b013
2025-01-13 01:13:02 -08:00
Angela Wang
713efe9334 Show ambient volume contrl only for hearing devices
Flag: EXEMPT bugfix
Bug: 388156028
Test: atest BluetoothDetailsAmbientVolumePreferenceControllerTest
Change-Id: Ia38fd90f798dec9a46366ca15e358b42f7d7fe70
2025-01-13 09:07:08 +00:00