Angela Wang
b5dbe8af2b
Show battery info for mono audio location device
...
1. Show mono battery info in LeAudioBluetoothDetailsHeaderController
without side text in front of the battery icon
2. Show mono side device on Settings > Accessibility > Hearing devices's
summary without side information
Flag: EXEMPT bugfix
Bug: 379616650
Test: atest AccessibilityHearingAidPreferenceControllerTest
Test: manually check UI with real device
Change-Id: I4a1a3357e2cef51df505923e38da33767c78e8f3
2024-11-22 07:17:48 +00: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
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