Haijie Hong
9ecaf7c2ae
Merge "Add toast for bond loss" into main
2025-03-19 04:41:35 -07:00
Haijie Hong
1d2b0b9aa0
Don't disable switch when changing status
...
BUG: 404423669
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ie2d48b4f0bbb224e62d2746d260b1026022ebf01
2025-03-19 02:47:42 -07:00
Haijie Hong
6c608b7e8a
Merge "Show bond loss UI in device details" into main
2025-03-19 00:22:21 -07:00
Haijie Hong
2b0aee3a33
Merge "Update talkback when device is disconnected" into main
2025-03-19 00:22:10 -07:00
Haijie Hong
d6f7270748
Add toast for bond loss
...
Test: local tested, haven't find good way to add unit test for reflection.
Flag: EXEMPT minor fix
Bug: 380801155
Change-Id: Ia0d05ef933b0ae24077f31e4ff46c9948b99628a
2025-03-18 23:20:20 -07:00
Haijie Hong
ab32535297
Update talkback when device is disconnected
...
Test: local tested
Flag: EXEMPT minor fix
Bug: 404422637
Change-Id: If69b728d07f13d557ba2318af9eaf794311cc683
2025-03-19 12:45:45 +08:00
Jason Hsu
1f8cd5ecc2
Merge "Update string id to use generic 'Done' button" into main
2025-03-18 20:28:22 -07:00
Haijie Hong
4bc471f61e
Merge "Move enable/disable LE Audio to Utils" into main
2025-03-18 07:25:17 -07:00
jasonwshsu
2252b2b418
Update string id to use generic 'Done' button
...
Bug: 404145007
Test: check UI of 'Default microphone' dialog in device details page
Flag: EXEMPT bugfix
Change-Id: I03fae534bb19ab90359e7db1283ac4c139175d4b
2025-03-18 20:58:30 +08:00
Haijie Hong
a333827d6d
Move enable/disable LE Audio to Utils
...
Bug: 381353150
Test: atest UtilsTest
Flag: EXEMPT minor refactor
Change-Id: Id017f2b5a0f51d19878bf91b219334baeda97d6d
2025-03-18 19:44:47 +08:00
Haijie Hong
fc10fdf30b
Check bond state when bluetooth key is missing
...
Bug: 403847818
Test: local tested
Flag: EXEMPT minor fix
Change-Id: I3f310b5758ebecd7591d76988b351d3c6a7dfc67
2025-03-18 18:56:24 +08:00
Haijie Hong
519f1752f0
Show bond loss UI in device details
...
Bug: 380801155
Test: atest BluetoothDetailsFragmentTest
Flag: EXEMPT minor change
Change-Id: I458778e1a3adde4ec1ddd8b84b8dc7f1d91621f5
2025-03-18 11:41:52 +08:00
Yiyi Shen
c79e14a2fd
Move setScanMode to background thread to avoid ANR
...
Test: atest
Bug: 397951829
Flag: EXEMPT small fix
Change-Id: I6450fc9cef1cfea3bb940e5d37a552df1f75dd23
2025-03-17 16:42:09 +08:00
Haijie Hong
fe3cf14287
Merge "Update dialog UI for bonding loss" into main
2025-03-13 20:32:26 -07:00
Angela Wang
faebda0cda
Merge "Add background to ambient volume control icons" into main
2025-03-13 12:49:10 -07:00
Angela Wang
c47713d66f
Add background to ambient volume control icons
...
Enhance the visibility and discoverability of ambient volume control
icons by adding backgrounds.
Flag: EXEMPT bugfix
Bug: 398962101
Test: manual check the result and screenshots attached on bug
Change-Id: Ice467191235df63f258bbca4e085fbf8a7f3c555
2025-03-13 10:01:02 +00:00
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
Haijie Hong
3ac9b6baaa
Update dialog UI for bonding loss
...
Bug: 380801155
Test: atest BluetoothKeyMissingDialogTest
Flag: com.android.settings.flags.enable_bluetooth_key_missing_dialog
Change-Id: I0530d6a590666684578f3e94fc8f0da4fae64c7f
2025-03-13 00:41:06 -07: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