Commit Graph

56153 Commits

Author SHA1 Message Date
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
Jacky Wang
68178f684e [Catalyst] Refine AmbientDisplayAlwaysOnPreference datastore
NO_IFTTT=Catalyst only

Bug: 372307567
Flag: com.android.settings.flags.catalyst_lockscreen_from_display_settings
Test: devtool
Change-Id: Icd7990d4bb42c2ed5e3432d0dd81473217913b56
2025-01-17 16:05:42 +08: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
Fan Wu
297941ba2f [Catalyst] Remove PreferenceMetadata usages
Classes that implement PersistentPreference don't need to implement PreferenceMetadata

Bug: 388167302
Test: atest and manual
Flag: EXEMPT refactor
NO_IFTTT=refactor

Change-Id: Icf7d5eb4bbd426eb7e8dd562eda3c0a775457a3e
2025-01-16 17:46:28 -08:00
Yining Liu
8b94618dd8 Merge "Notification on lockscreen settings: add WhatToShowController" into main 2025-01-16 15:38:58 -08:00
Yongshun Liu
c0e9a84e85 Merge "a11y: Make images optional for single choice list view dialog" into main 2025-01-16 15:07:19 -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
Yongshun Liu
09b11ff3d3 a11y: Make images optional for single choice list view dialog
This makes `ItemInfoArrayAdapter.ItemInfo` support text-only choices. It
is to better accommodate the new dialogs.

Bug: b/389991440
Flag: com.android.settings.accessibility.enable_magnification_cursor_following_dialog
Test: None
Change-Id: If7514631a72631cf0fce85623fe30c8261f678c9
2025-01-16 21:27:02 +00:00
Ioana Alexandru
878f860fd3 Merge "Rename SettingsEnableZenModeDialog to EnableDndDialogFragment" into main 2025-01-16 08:39:36 -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
Julia Reynolds
f9b8f5af38 Merge "Align history styling with Settings" into main 2025-01-16 06:02:24 -08: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
Treehugger Robot
1ac39a1547 Merge "[Catalyst] Leverage PrimarySwitchPreferenceBinding" into main 2025-01-16 03:40:40 -08: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
Josep del Río
733f174fbd Merge "Fix multiple layouts marked as selected" into main 2025-01-16 01:33:54 -08:00
Jacky Wang
5a747c5a14 [Catalyst] Leverage PrimarySwitchPreferenceBinding
NO_IFTTT=Catalyst only

Bug: 335132588
Flag: com.android.settings.flags.catalyst
Test: manual
Change-Id: I3a566d98500bd09526c1f8d34fb7c47e9dff68b7
2025-01-16 17:13:20 +08:00
Treehugger Robot
fd7927bd79 Merge "[Catalyst] Rename BooleanPreference to BooleanValuePreference" into main 2025-01-16 00:55:23 -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
Fan Wu
9782d86786 [Catalyst] Rename BooleanPreference to BooleanValuePreference
Bug: 388167302
Test: atest and manual
Flag: EXEMPT refactor
NO_IFTTT=refactor

Change-Id: Id447d0729b9202df96b610c3991f9d03dda8c811
2025-01-15 22:34:35 -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
f597576f55 Merge changes from topic "catalyst" into main
* changes:
  [Catalyst] Update metrics logging for AirplaneModePreference
  [Catalyst] Setup metrics logger for preference ui action
2025-01-15 18:29:02 -08:00
Yuhan Yang
b95bc6620d Merge "Grey out scrolling speed slider bar" into main 2025-01-15 17:35:50 -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
Joshua Mccloskey
0e5717b3a6 Merge "Fixed Pattern SUW a11y bug" into main 2025-01-15 12:34:39 -08:00
Daniel Norman
e8f5daaf88 Merge "fix(HCT):Ensure HCT Notification ID does not conflict in the Settings app" into main 2025-01-15 11:34:28 -08:00
Joshua McCloskey
53ac9161d3 Fixed Pattern SUW a11y bug
Test: Verified that setting up a patter nduring SUW no longer announces
a long peice of text after clearing the pattern.
Fixes: 386859835
Flag: EXEMPT bugfix

Change-Id: I7350aba7d3f0665f204758241af02eeaad8cc1d5
2025-01-15 19:17:23 +00:00
Riley Jones
e5649f2ca6 Merge "Cleanup qs shortcut flag in OneHandedSettingsUtils" into main 2025-01-15 10:51:57 -08:00
Ioana Alexandru
07534f76a9 Rename SettingsEnableZenModeDialog to EnableDndDialogFragment
We also renamed the base EnableZenModeDialog to
EnableDndDialogFactory, see other CL in topic.

Flag: EXEMPT trivial rename
Test: builds
Bug: 388261320
Change-Id: Iaa2043bbb8d1f62482d0c38d0951da4025676f27
2025-01-15 17:42:23 +01:00
Yiyi Shen
9c1447536a Merge "[Audiosharing] Use setBroadcastToUnicastFallbackGroup to set primary" into main 2025-01-15 02:34:03 -08:00
Dipankar Bhardwaj
5488817d0a Merge "Use RELEASE_OR_PREVIEW_DISPLAY to show android build version" into main 2025-01-15 02:29:59 -08:00
chenjean
ea305dc01e fix(HCT):Ensure HCT Notification ID does not conflict in the Settings app
The current HCT notification uses NOTIFICATION_ID=1. The Settings app has a few other notifications also use NOTIFICATION_ID=1 like Bluetooth and Sim etc. When using the same NOTIFICATION_ID for a notification, it updates the existing notification, causing the original one to disappear. To avoid this, we use a unique NOTIFICATION_ID.

Bug: 388530317
Flag: EXEMPT resource only update
Test: manual
Test: atest HighContrastTextMigrationReceiverTest
Change-Id: Ieda6836190726b14cd3522f61e7992e5a5698231
2025-01-15 18:15:38 +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
3849c6c6f0 Merge "[Catalyst] Remove BooleanValue usages" into main 2025-01-15 01:29:17 -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
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
Fan Wu
d0d793da2e [Catalyst] Remove BooleanValue usages
Bug: 388167302
Test: atest and manual
Flag: EXEMPT refactor
NO_IFTTT=refactor

Change-Id: Ia3d14143185708e34325a641cb872d7e2675e3bc
2025-01-14 23:32:42 -08:00
Jakub Rotkiewicz (xWF)
15b146e3ed Merge "developer settings: remove unused a2dp Preference" into main 2025-01-14 23:16:50 -08:00
Treehugger Robot
d2145509c9 Merge "Add metrics to the regional preferences implementation" into main 2025-01-14 21:20:40 -08:00
danielwbhuang
37749d5ee2 Add metrics to the regional preferences implementation
1. Region
2. Temperature
3. Measurement system
4. First day of week

Bug: 389568296
Flag: EXEMPT metrics
Test: manual
Change-Id: I62c1cbcec873b33c76fd389c27e7809c7581db97
2025-01-15 11:39:46 +08:00
Julia Reynolds
e5359b283e Align history styling with Settings
Fixes: 335717550
Bug: 349652992
Test: manual- view history in all states with new styling enabled and disabled
Flag: EXEMPT bug fix
Change-Id: I8ccf5d848691f954cb1b0a79c773ad76ab6c371a
2025-01-14 16:05:25 -08:00
YuhanYang
c772324c12 Grey out scrolling speed slider bar
When ever the mouse scrolling acceleration settings is toggled to
set "enabled", the mouse scrolling speed slider bar should be
greyed out.

Bug: 383555305
Bug: 384795606
Test: Local DUT with aconfig flags enabled, verified settings appears
      and is togglable. Verified toggle affects scrolling acceleration.
Flag: com.android.hardware.input.mouse_scrolling_acceleration
Change-Id: Ib96a4437864a0395c8c185bbd8cfb13f3979c84f
2025-01-14 23:15:47 +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
Treehugger Robot
fda0ef4981 Merge "Remove content description from VD settings icon" into main 2025-01-14 02:00:59 -08:00
Vladimir Komsiyski
f9fc29319a Remove content description from VD settings icon
Fix: 389807275
Test: manual with talkback
Flag: EXEMPT trivial bugfix
Change-Id: Ib57231c83dc2b4059510706677fd5406b0e5a8a1
2025-01-14 09:58:56 +01:00