Haijie Hong
7764a3e5af
Fix coroutine scope expired and UI animation issue
...
BUG: 375365790
BUG: 375146578
BUG: 375304695
BUG: 375544752
Test: atest BluetoothDeviceDetailsViewModelTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ib3bc6699f256288b6c4995b78cc25a16f1af0792
2024-10-28 03:16:26 +00:00
Haijie Hong
7a3baf7d2e
Fix multi-toggle flicker bug
...
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ib5e700412c112ff6fa19b54f341fbd598c6b345c
2024-10-15 14:49:25 +08:00
Haijie Hong
c9b450734a
Gray out toggle if isAllowChangingState is false
...
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I428b5093477ec9d1ba61cbbdb8430b9e28577d99
2024-10-14 17:43:00 +08:00
Haijie Hong
8cb8aaf36b
Fix bug when bluetooth profile is not in more settings
...
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I3f53c3b0b60997aa3a1685fe2512ff2f37b32d18
2024-10-14 17:19:57 +08:00
Haijie Hong
4f3d7c0056
Merge "make device setting be able to use both Intent and PendingIntent" into main
2024-10-08 07:48:54 +00:00
Haijie Hong
79f17d1188
make device setting be able to use both Intent and PendingIntent
...
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I0c370d64bda1479778b55dc97e136ff73223f5d3
2024-09-29 20:06:49 +08:00
Haijie Hong
451dc11ed9
Merge "Add audio category preference in more settings fragment" into main
2024-09-29 12:06:44 +00:00
Haijie Hong
78cce9cd50
Add audio category preference in more settings fragment
...
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I427a85159881205805933023020db2db73d729b6
2024-09-29 13:44:33 +08:00
Yiyi Shen
d375984779
Merge "[Audiosharing] Use DialogFragment instead of raw AlertDialog" into main
2024-09-26 02:49:38 +00:00
Haijie Hong
9b36ed51a2
Merge "Add icon for more settings preference" into main
2024-09-25 10:37:04 +00:00
Haijie Hong
684ec23cad
Merge "Add metrics category for more settings fragment" into main
2024-09-25 10:36:29 +00:00
Yiyi Shen
54b0d18a04
[Audiosharing] Use DialogFragment instead of raw AlertDialog
...
FragmentManager can help manage the state of the dialog and automatically restore the dialog when a configuration change occurs
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858921
Change-Id: If63c7891cfb92e06c457e37eb5556f3eaf3f6121
2024-09-25 17:31:14 +08:00
Haijie Hong
63ecd2781f
Add icon for more settings preference
...
BUG: 343317785
Test: atest DeviceSettingRepositoryTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Id7c272edce5ff8166f03b7162ac9ba5ff1f15097
2024-09-25 09:02:07 +00:00
Haijie Hong
fc27dcccde
Add metrics category for more settings fragment
...
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I21a3ca0deea516765f1af2f5d7117b6c3c1763a7
2024-09-25 16:17:48 +08:00
Haijie Hong
7e7530bfd1
Merge "Fix two-panel issue in tablet" into main
2024-09-25 07:36:43 +00:00
Haijie Hong
1020e7132d
Fix two-panel issue in tablet
...
Keep the logic same as BlockingPrefWithSliceController.
BUG: 343317785
Test: atest BluetoothDeviceDetailsViewModelTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I77e62479def433869ae5e93987ec7069cc61173a
2024-09-25 13:48:33 +08:00
Yiyi Shen
5ea28f5f0a
[Audiosharing] Apply new string resid
...
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858921
Bug: 362858894
Change-Id: I4c80d834515e43bade5f2207dc013dc30c6ab7be
2024-09-23 18:56:04 +08:00
Yiyi Shen
322e153350
Rename AudioSharingLoadingStateDialogFragment and layout
...
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 362858894
Change-Id: I05e29b248541511daca355f1bbe4a13b17b4d20d
2024-09-23 15:46:27 +08:00
Tom Hsu
e91214d3c8
Merge "[Satellite] Hide BT switch in Settings search when started Satellite." into main
2024-09-23 05:21:20 +00:00
tomhsu
0af43e2609
[Satellite] Hide BT switch in Settings search when started Satellite.
...
Flag: EXEMPT bugfix
fix: 360142029
Test: Manual test passed.
Change-Id: Id1e52a80e86ce6bab1eab3708588208d7981b3aa
2024-09-20 12:20:09 +00:00
Yiyi Shen
133fcf3dc5
Merge "[Audiosharing] Refine share then pair flow" into main
2024-09-19 13:29:37 +00:00
Haijie Hong
5f94ee807c
Disable toggles if isAllowedChangingState is false
...
BUG: 343317785
Test: local test
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Iaf53773bd47c35b742dc81a30b5d2fe459e65878
2024-09-19 15:53:14 +08:00
Yiyi Shen
800f81c832
[Audiosharing] Refine share then pair flow
...
Currently when there is one active LEA headset and users toggle on the audio sharing, a dialog will pop up to ask users to pair new headset and share audio with it. After user click pair new device button on the dialog:
1. Route users to pair new device page.
2. If users pair an LEA headset, finish the pair new device page and
auto add source to the headset with loading indicators on audio
sharing page.
3. If users pair a classic headset, wait for timeout, pop up dialog
saying the paired headset is not compatible for audio sharing and
finish the pair new device page.
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 331892035
Change-Id: Ifb9579db0ef57d3a379cb5d17c66a604d1396bb4
2024-09-19 14:03:48 +08:00
Haijie Hong
237264fe56
Merge "Show highlight for device setting items" into main
2024-09-13 08:58:44 +00:00
Treehugger Robot
06ab83eb50
Merge "Fix errorprone issues" into main am: eb2e9e4776 am: bdd44e5242
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3258078
Change-Id: I1249c4cdae2cee729ac60d9e41507c7dc684621e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-11 18:22:01 +00:00
Treehugger Robot
eb2e9e4776
Merge "Fix errorprone issues" into main
2024-09-11 18:08:19 +00:00
Haijie Hong
cb478b82f0
Show highlight for device setting items
...
BUG: 343317785
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ifac11881a9a305a39c1d2057ea354a8096f70647
2024-09-11 11:43:38 +08:00
Haijie Hong
1a90869f28
Merge "Make bluetooth profile toggles configurable" into main
2024-09-09 12:56:07 +00:00
Haijie Hong
cd7627c9ff
Make bluetooth profile toggles configurable
...
BUG: 343317785
Test: atest BluetoothDetailsProfilesControllerTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I5aea110f7a42ffee20a56dbd9d5621f44311cc66
2024-09-09 13:23:12 +08:00
Cole Faust
9b89e3d643
Fix errorprone issues
...
IgnoredPureGetter, LenientFormatStringValidation, ProtocolBufferOrdinal, and ReturnValueIgnored.
https://errorprone.info/bugpatterns
Bug: 253827323
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: Ib0a0335aa04b36924adcbfecc830b7392c0e5bec
2024-09-06 13:34:50 -07:00
Haijie Hong
680df21339
Merge "Show a dialog if bluetooth key is missing when reconnecting" into main
2024-09-06 08:18:55 +00:00
Haijie Hong
f93aaadad0
Show a dialog if bluetooth key is missing when reconnecting
...
Previous change is reverted due to test failure in b/362901443.
BUG: 360031750
Test: atest BluetoothKeyMissingDialogTest
Flag: com.android.settings.flags.enable_bluetooth_key_missing_dialog
Change-Id: I05b940e8aac26c14f93baa19c224ad98c291b891
2024-09-04 09:05:08 +00:00
Haijie Hong
637984a38d
Merge "Make HIGH_QUALITY_AUDIO_PREF_TAG public" into main
2024-09-04 05:17:43 +00:00
Haijie Hong
a43ff10579
Make HIGH_QUALITY_AUDIO_PREF_TAG public
...
BUG: 360031750
Test: local tested
Flag: EXEMPT no logic change
Change-Id: Icfb5879f9b44b83c3e4bcfb4628a36b7cefcff01
2024-09-04 03:23:24 +00:00
Angela Wang
ed519640fa
Add hearing device related logs in Settings
...
1. The HAC toggle on/off event
2. The "See more devices" button click in hearing device pairing page
3. The preset changed event in Bluetooth device details page
Flag: EXEMPT, simple log
Bug: 361206470
Test: manually check on go/atomviewer
Test: atest BluetoothDetailsHearingAidsPresetsControllerTest
Change-Id: I743ea136ec4cb3370c0463df865db830e73e7997
2024-09-03 08:06:43 +00:00
Yiyi Shen
abd3889b5c
[Audiosharing] Avoid audio sharing dialogs in call
...
Test: atest
Bug: 362714470
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I972d65727865793454de3eb0d9f07926d236afd7
2024-09-02 13:41:09 +08:00
Haijie Hong
4775f41ec6
Merge "Add help button on the top right corner of more settings page" into main
2024-08-28 05:35:57 +00:00
Haijie Hong
4b04b5e2d4
Use Spatializer in overlay for new device details page
...
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I6c80fac5e74902dd746262e555eb0a5a2e865718
2024-08-27 13:27:35 +08:00
Haijie Hong
ae26d5d17e
Add help button on the top right corner of more settings page
...
BUG: 343317785
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I3053c0495d4c3cfefcd4f77c9114c4c8c8fe08ca
2024-08-21 20:54:42 +08:00
Haijie Hong
91536001ba
Merge "Clean up legacy bluetooth setting flags" into main
2024-08-21 05:45:25 +00:00
Haijie Hong
7723d99684
Merge "Catch IllegalArgumentException when unregister callback" into main
2024-08-20 10:39:13 +00:00
Haijie Hong
52b6929334
Catch IllegalArgumentException when unregister callback
...
BUG: 359585188
Test: local test
Flag: EXEMPT minor fix
Change-Id: Ie2e485b922b2bf1163d47c14040e6e3d48f55f86
2024-08-20 17:17:29 +08:00
Haijie Hong
15a9f1437d
Clean up legacy bluetooth setting flags
...
BUG: 359415806
Test: atest SettingsRoboTests
Flag: EXEMPT clean up
Change-Id: I7c47d80e61cfb0e3b473106e0784cc96ba639452
2024-08-20 15:38:32 +08:00
Haijie Hong
7cd4a3987f
Add device details more settings page
...
BUG: 343317785
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ia9eff049e73e039ac5d0fb26096ab4e9add60315
2024-08-19 23:41:16 +08:00
Xin Li
0b886fe303
Merge 24Q3 (ab/AP3A.240905.015) to aosp-main-future
...
Bug: 347831320
Merged-In: I54a12b03ed9be6dc49fb957df0f1f7b31647810d
Change-Id: I473577d5983daafb368afa5523bad948499cb9a2
2024-08-14 23:26:30 -07:00
Haijie Hong
c1b24f0a9e
Implement Spatial audio toggle domain layer
...
BUG: 343317785
Test: atest SpatialAudioInteractorTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ic73e56a1ca41f9fa58d5219666478a7edc55059d
2024-08-14 17:23:14 +08:00
Haijie Hong
41f7c222b6
Rearrange bluetooth device details fragment according to config
...
BUG: 343317785
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I440f85b2c402920e851915ff56fa7b3f5356e807
2024-08-14 16:06:15 +08:00
Haijie Hong
c2ed6d3242
Move rename button next to the device name
...
BUG: 343317785
Test: atest GeneralBluetoothDetailsHeaderControllerTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I87f030ca48d3edac13759fe51499b7e400dbb795
2024-08-12 12:31:45 +08:00
jasonwshsu
15c6533ef9
Connected devices page did not show correct summary when member device connect
...
Root Cause: CsipDeviceManager only refreshes UI when switching member device content.
Solution:
* CsipDeviceManager needs to call refresh() on main device when it's new
member device added.
* UI widget Settings/BluetoothDevice also need to monitor it's member device status to refresh UI.
Bug: 344947362
Test: atest BluetoothDevicePreferenceTest
Flag: EXEMPT bugfix
Change-Id: I58f9e2fc209d4e87631784d0538b1647228f4c1a
2024-08-09 09:49:35 +08:00
Xin Li
e2d326beeb
Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
...
Bug: 347831320
Merged-In: I2489a64804f068a957f9be3f87847d6911b24447
Change-Id: I1885ef34f69ac4eb6e76ac903fcacdebe4139ae1
2024-08-08 11:41:20 -07:00