Commit Graph

1787 Commits

Author SHA1 Message Date
Haijie Hong
0a06641369 Merge "Add logging for LE Audio toggle enable/disable" into main 2024-11-26 02:22:07 +00:00
Haijie Hong
aaac02499a Merge "Fix blank area at the bottom of device details page" into main 2024-11-25 07:01:27 +00:00
Haijie Hong
8346678b1a Fix blank area at the bottom of device details page
BUG: 380003570
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ic69b3593e6fe7214004c17a5bc2371d319d58f58
2024-11-25 12:57:30 +08:00
Haijie Hong
d5c7d17e07 Fix junk when loading more settings item
BUG: 377531818
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ib6f97c589473aa0c7576af966a78068da273deec
2024-11-25 11:48:19 +08:00
Haijie Hong
1cba219eaf Merge "Fix talkback of ANC toggle" into main 2024-11-24 13:39:53 +00:00
Haijie Hong
170667e52a Merge "Add metrics for new bluetooth device details" into main 2024-11-21 11:50:43 +00:00
Haijie Hong
fb2668525b Fix talkback of ANC toggle
BUG: 380022983
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I1d0e763abda32d37af5d7c2d240c429fcc2d39cf
2024-11-20 14:06:36 +00:00
Haijie Hong
c79f368dbf Add logging for LE Audio toggle enable/disable
BUG: 364201880
Test: local tested
Flag: EXEMPT minor change, only add logging
Change-Id: I05ea2d0cd85da9879e18ae730fb64beeb4d81dd4
2024-11-20 14:25:25 +08:00
Haijie Hong
49045fb361 Remove the extra space above Spatial audio toggle
BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I56bd6438e9f6589f388c0355460e6c5ba9cb2823
2024-11-18 13:08:13 +08:00
Haijie Hong
fb9d83ad68 Add metrics for new bluetooth device details
BUG: 343317785
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ic74a885627a1426c338b093dcf949688fe9784d1
2024-11-14 15:34:55 +08:00
Guojing Yuan
ff0ea037bf Remove the margin in Device Detail page
Change-Id: I1add40d94bf1a433d303866353e08a3d790db1ae
Fix: 377517620
Test: manual
Flag: EXEMPT bugfix
2024-11-12 18:40:43 +00:00
Haijie Hong
b33651389e Merge "Revert ANC and Spatial audio UI change" into main 2024-11-11 11:07:40 +00:00
Haijie Hong
aaa040e085 Revert ANC and Spatial audio UI change
BUG: 378016708
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I390ff06ab11b16134d0656c9576670b319c46c74
2024-11-11 12:41:33 +08:00
Yiyi Shen
d690869f5b Merge "[Audiosharing] Enable audio sharing UI when preview option on." into main 2024-11-08 06:36:49 +00:00
Haijie Hong
ffa4fba144 Also disable main content if switch is disabled
BUG: 377530027
Test: local test
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I883618919523fea2305858c370390c88511d5a0f
2024-11-06 13:37:35 +08:00
Yiyi Shen
2fc788c35a [Audiosharing] Enable audio sharing UI when preview option on.
Test: atest
Bug: 368401233
Flag: com.android.settingslib.flags.audio_sharing_developer_option
Change-Id: Idbc84e2c43f7361c58c440d1a7d7c78edd3c0521
2024-11-04 14:27:42 +08:00
Haijie Hong
559d39cc87 Merge "Allow launch activity from background for PendingIntent" into main 2024-11-01 08:21:06 +00:00
Haijie Hong
6852925676 Allow launch activity from background for PendingIntent
BUG: 343317785
Test: local test
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I22c430c0d3879f034f3a491471781aa9b49a02f2
2024-10-31 16:21:21 +08:00
Haijie Hong
77132f0e61 Merge "Remove extra space around profiles and audio category" into main 2024-10-30 08:13:38 +00:00
Haijie Hong
2c9e4d373e Remove extra space around profiles and audio category
BUG: 376021212
Test: local test
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: If3e18ce26c688087158542e28e4981cf821fa2b8
2024-10-30 05:31:55 +00:00
Haijie Hong
cf7e295b4a Merge "Exit device details page when bond state is BOND_NONE" into main 2024-10-29 03:04:03 +00:00
Haijie Hong
6c1481e5e7 Exit device details page when bond state is BOND_NONE
BUG: 356222570
Test: local test
Flag: EXEMPT minor bug fix
Change-Id: I1485aa78eb1323eefabf1eb023e24459faed51a6
2024-10-28 16:38:34 +08:00
Haijie Hong
6f9a18ec68 Hide spatial audio toggle when disconnected
BUG: 375546672
Test: atest SpatialAudioInteractorTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I524174e6ef66b5d1ef90ac171c66f05aa7e26b53
2024-10-28 15:51:11 +08:00
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