Yiyi Shen
efe2738735
Avoid unintended pref removal after CSIP main/member switch
...
Test: atest
Bug: 394765052
Flag: EXEMPT small fix
Change-Id: I5b4646ff9ee092b851d3f8d5cc3ac2030f189430
2025-03-13 17:32:38 +08:00
Ze Li
35b5d88170
Merge "[Bluetooth Pairing] Change allow phone book permission Switch to Material3 style." into main
2025-03-11 07:29:29 -07:00
Ze Li
6e0bbb6259
[Bluetooth Pairing] Change allow phone book permission Switch to Material3 style.
...
Test: manual test
Bug: 318785412
Flag: EXEMPT bug fix
Change-Id: I5546cb504a6db939a4ab62264d496adcf93aa0e2
2025-03-11 19:18:01 +08:00
Haijie Hong
02bd645834
Reimplement device details UI without ComposePreference
...
Replace ComposePreference with androidx.preference.Preference.
ANC toggle will still use Compose until SegmentedButtonPreference is ready.
BUG: 402036473
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I5114af8f2d679d695b3c5ef4d7be2874245c435e
2025-03-11 14:51:30 +08:00
Srinivas Patibandla
aba8de169b
Merge "24Q3: Remove Flag enable_hide_exclusively_managed_bluetooth_device" into main
2025-03-04 10:08:39 -08:00
Haijie Hong
ac0cb81ea0
Merge "Check bluetooth key missing count in BluetoothKeyMissingReceiver" into main
2025-03-04 00:37:36 -08:00
Srinivas Patibandla
6607546f1e
24Q3: Remove Flag enable_hide_exclusively_managed_bluetooth_device
...
Bug: 324475542
Test: atest: com.android.settings.bluetooth.ConnectedBluetoothDeviceUpdaterTest
Test: atest: com.android.settings.bluetooth.SavedBluetoothDeviceUpdaterTest
Flag: EXEMPT removing com.android.settingslib.flags.enable_hide_exclusively_managed_bluetooth_device
Change-Id: Ibcf78a0a72409371557f07f4c42c676d07c0741b
2025-03-03 12:51:53 -08:00
Yiyi Shen
d021ff5c00
[Audiosharing] Block pairing if there exists temp bond device
...
Test: atest
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Bug: 392004799
Change-Id: I641ec995e7e0883b428effe219acb25d2c2da9dd
2025-03-03 17:40:39 +08:00
Haijie Hong
ca69e6fddc
Check bluetooth key missing count in BluetoothKeyMissingReceiver
...
Bug: 388018781
Test: local build and tested. I didn't find a good way to add unit test for reflection
Flag: EXEMPT minor fix
Change-Id: I9cf6e0b3121114c6eca571dff5df3ea4115fbbf1
2025-03-03 15:47:08 +08:00
Evan Chen
0f9c687bf3
Merge "Remove all associaitons when forget a device in Settings" into main
2025-02-27 13:04:53 -08:00
Angela Wang
ddd2946804
Merge "Set content description on ambien volume sliders" into main
2025-02-27 01:29:18 -08:00
Evan Chen
60ff81faf8
Remove all associaitons when forget a device in Settings
...
The associations will be removed one forget the device.
Test: manually test
Bug: 365613753
Flag: com.android.settings.flags.enable_remove_association_bt_unpair
Change-Id: Ic2224952b6f8e776ffcf07ce4fa6953a98475490
2025-02-26 17:35:23 +00:00
Haijie Hong
5e79d18636
Merge "Add Nearby share entrypoint in DevicePicker" into main
2025-02-23 23:30:32 -08:00
Jason Hsu
d879711020
Merge "Fix default microphone for calls sometimes not work and not show UI" into main
2025-02-21 08:44:13 -08:00
Haijie Hong
a9e67c0327
Add Nearby share entrypoint in DevicePicker
...
Bug: 381799866
Test: local build
Flag: com.android.settings.flags.enable_nearby_share_entrypoint
Change-Id: Ied79b9eebe7eaf669e45922787c5b01e504822d8
2025-02-21 17:24:10 +08:00
Ze Li
025fff5a85
Merge "[Battery refactor] Move stylus related functions to BluetoothUtils as util functions." into main
2025-02-20 21:36:37 -08:00
jasonwshsu
691a3fd641
Fix default microphone for calls sometimes not work and not show UI
...
Root Cause: Only setMicrophonePreferredForCalls and show UI to current device, but audioManager
might hold other device in the same set
Solution: setMicrophonePreferredForCalls to whole device set and also check if any address in device
set contain in audioManager GET_DEVICES_INPUTS list
Bug: 392902067
Test: atest BluetoothDetailsHearingDeviceInputRoutingControllerTest
Flag: EXEMPT bugfix
Change-Id: Ic5846de26df4a8db67fa8efcf474fa4509f7918a
2025-02-21 04:10:03 +08:00
Angela Wang
d16be09086
Set content description on ambien volume sliders
...
Added content descriptions to the UI component to improve accessibility for TalkBack users.
Flag: EXEMPT bugfix
Bug: 397134669
Test: manually test with TalkBack
Change-Id: If0c40d7b91061da5e100e49e71279adb6f69e77f
2025-02-20 10:32:42 +00:00
Ze Li
6a29b1c779
[Battery refactor] Move stylus related functions to BluetoothUtils as util functions.
...
Test: com.android.settings.bluetooth.BluetoothDeviceDetailsFragment, com.android.settings.connecteddevice.stylus.StylusDevicesControllerTest
Bug: 397847825
Flag: EXEMPT utils function
Change-Id: I6819844cd686fe29b8b1c760c3e4035787a2b903
2025-02-20 15:35:01 +08:00
Angela Wang
57032340db
Merge "Add ambient volume control related logs in Settings" into main
2025-02-19 18:03:48 -08:00
Yiyi Shen
2c5f451b3a
[Audiosharing] Revert ag/31626042 (exclude utils)
...
FP will handle set temp for manual pair in Settings
Test: atest
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Bug: 392004799
Change-Id: I3afae523ef0d5a6c236a482127a714f422a6e000
2025-02-19 01:23:52 -08:00
Angela Wang
51696f80cb
Add ambient volume control related logs in Settings
...
Flag: EXEMPT simple log added
Bug: 397140123
Test: manually check on go/atomviewer
Test: atest BluetoothDetailsAmbientVolumePreferenceControllerTest
Change-Id: I04121e22ca3b96a010da7cdc2ff9ba2c5f9213b9
2025-02-18 09:12:06 +00:00
Yiyi Shen
6dda673bf0
Merge "Show device in Media devices section if has LEA member connected" into main
2025-02-14 02:03:04 -08:00
Yiyi Shen
fb21686468
Show device in Media devices section if has LEA member connected
...
Test: atest
Bug: 396009828
Flag: EXEMPT simple fix
Change-Id: Icc6bd1c4fa7cf3c43eec1c4c950fbf778975f803
2025-02-14 14:53:56 +08:00
Ze Li
220312eab7
[Temp bonding] Clean up old guest device logic as requirements changed
...
Test: manual test
Bug: 362859132
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Change-Id: If4a471e2058873be5cdb0ee43371333ebdc9a38a
2025-02-13 17:17:29 +08:00
Jason Hsu
29557d6017
Merge "Show intro and footer string according to the device's supported status" into main
2025-02-11 23:44:01 -08:00
jasonwshsu
9cfc96d948
Show intro and footer string according to the device's supported status
...
Bug: 390078046
Bug: 386121967
Test: atest HearingAidHelperTest HearingDeviceFooterPreferenceControllerTest HearingDeviceIntroPreferenceControllerTest BluetoothDetailsHearingDeviceSettingsControllerTest
Flag: EXEMPT bugfix
Change-Id: I564cdb80cd14f4d2d8e882b64db939449c6936b7
Signed-off-by: Jie Wang <jie.x.wang@sony.com >
Signed-off-by: Jason Hsu <jasonwshsu@google.com >
2025-02-11 17:26:37 +08:00
Yiyi Shen
009747cef9
Merge "[Audiosharing] Block pairing during audio sharing" into main
2025-02-10 21:10:43 -08:00
Yiyi Shen
93f9061794
[Audiosharing] Block pairing during audio sharing
...
When a) there are two sinks in sharing b) there is at least one temp
bond device connected
Test: atest
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Bug: 392004799
Change-Id: Id093b4c0b67bdc1db621e0241e79900abbd26c0f
2025-02-10 18:38:53 +08:00
Yiyi Shen
ef77d14185
Merge "[Audiosharing] Set temp bond metadata for just bonded lea buds in sharing" into main
2025-02-10 01:52:41 -08:00
Yiyi Shen
5732773031
[Audiosharing] Set temp bond metadata for just bonded lea buds in sharing
...
Test: atest
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Bug: 392004799
Change-Id: I99e9955d00362125b7cbf54e2013c99dd2f9b457
2025-02-07 19:20:29 +08:00
Angela Wang
6f0f6e7cf6
Merge "Hide ambient control when there's no valid control point" into main
2025-02-06 09:17:37 -08:00
Vlad Popa
b136fcfe18
Remove rolled out flag automatic_bt_device_type
...
This flag has been rolled out in 24Q3 and can be removed.
Test: atest BluetoothDetailsAudioDeviceTypeControllerTest
Bug: 302323921
Flag: EXEMPT removing com.android.media.automatic_bt_device_type
Change-Id: I9997ef60f195b36298c36078eadf6c0a82bc662d
2025-02-05 16:04:50 -08:00
Angela Wang
11debff2be
Hide ambient control when there's no valid control point
...
The preference will be accidentally shown if the device support HAP and
VCP. Make sure to hide the preference when the device doesn't have any
valid ambient control points.
Flag: EXEMPT bugfix
Test: manual test with real device
Test: atest BluetoothDetailsAmbientVolumePreferenceControllerTest
Bug: 388156028
Change-Id: I8162ce8e878baff414e4665c97aaf1c21aa51229
2025-02-05 15:55:41 +00:00
Jacky Wang
2e265d4a7a
[Catalyst] Introduce SettingsContract file
...
The new file contains all contract constants for external usages (e.g.
slice, external Get/Set API). Also reuse existing constants in
SettingsSlicesContract.
NO_IFTTT=Catalyst only
Bug: 388061003
Flag: EXEMPT refactor
Test: atest
Change-Id: I449b7b6cf82e1e102f2c96a21835191605f09943
2025-02-04 18:24:46 +08:00
Chung Tang
8a6ea1a106
Accommodate BATT protocol modifications.
...
Bug: 380790573
Test: atest com.android.settings.bluetooth.AdvancedBluetoothDetailsHeaderControllerTest and Manual
Flag: com.android.settings.flags.enable_battery_level_display
Change-Id: Ibc4eb66aacedaf3a4111d4a411dada6cde1a5b9c
2025-01-22 00:14:53 -08:00
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
Chelsea Hao
97ccf7d696
Merge "Use LocalBluetoothLeBroadcastSourceState." into main
2025-01-15 19:11:20 -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
Angela Wang
e87733be63
Merge "Show ambient volume contrl only for hearing devices" into main
2025-01-13 22:44:41 -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
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
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
yqian
6bcf4a3ddd
Clean up disable_bonding_cancellation_for_orientation_change as it's enabled in prod
...
Flag: EXEMPT flag cleanup
Test: N/A
Bug: 389008619
Change-Id: I9fa18e73429e93adc501dc89e0f5ade7d8a2be22
2025-01-10 01:21:07 -08:00
Angela Wang
44e13bf11e
Merge "Remove flag enable_hearing_aid_preset_control" into main
2025-01-09 00:04:19 -08:00
Haijie Hong
fd4c6d100d
Merge "Add audio sharing entrypoint in device details" into main
2025-01-07 22:32:29 -08:00