Commit Graph

56134 Commits

Author SHA1 Message Date
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
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
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
Angela Wang
e87733be63 Merge "Show ambient volume contrl only for hearing devices" into main 2025-01-13 22:44:41 -08:00
Shaowei Shen
e61a297e85 Merge "[Physical Keyboard] Fix bug for Mouse key page" into main 2025-01-13 21:15:13 -08:00
Shaowei Shen
7ebd08bd57 Merge "[Physical Keyboard] Show correct format in a11y key dialog" into main 2025-01-13 21:14:44 -08:00
Haijie Hong
c9ad06d9c3 Merge "Add hint for device rename editbox" into main 2025-01-13 21:14:09 -08:00
Haijie Hong
3442fb6d72 Merge "Use lifecycleScope.launch instead of post" into main 2025-01-13 21:13:55 -08:00
Yuanru Qian
bb40ebcc8a Merge "Clean up disable_bonding_cancellation_for_orientation_change as it's enabled in prod" into main 2025-01-13 21:11:26 -08:00
Yuhan Yang
a12887ff9c Merge "Add mouse scrollling speed slide bar" into main 2025-01-13 19:37:02 -08: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
Treehugger Robot
9e17ca61f4 Merge "BasePreferenceController: add some nullability annotations" into main 2025-01-13 16:14:35 -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
0999725c18 Add hint for device rename editbox
BUG: 386721884
Test: local tested
Flag: EXEMPT minor fix
Change-Id: I0722d5e30b112c10c53f21e6b08543b2719bfa0f
2025-01-13 20:01:17 +08:00
Haijie Hong
21395089e0 Use lifecycleScope.launch instead of post
BUG: 385430945
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I30200154062115ea2db6bc87cfbc0ec339ec3171
2025-01-13 19:38:46 +08: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
shaoweishen
2eebf46f40 [Physical Keyboard] Fix bug for Mouse key page
Add default Locale to get keycode for mouse key.

Bug: 387152641
Bug: 386907528
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod
Change-Id: I8cc4a08449c13b426ffa24ddc29fd16407b064c8
2025-01-13 09:10:01 +00: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