Commit Graph

7 Commits

Author SHA1 Message Date
Haijie Hong
cafb920cdd Merge "Clean up settings subsequent pairing aconfig flag" into main 2024-08-29 05:30:34 +00:00
Haijie Hong
dc68fd4253 Clean up settings subsequent pairing aconfig flag
BUG: 362649019
Test: atest FastPairDeviceGroupControllerTest
Flag: EXEMPT clean up
Change-Id: Ia49b0e4e9e5b9af7fe33b2182344f7a43786f111
2024-08-28 14:28:20 +08:00
Yiyi Shen
23601a670d Register callbacks on background thread to avoid ANR
Fix: 360798156
Test: atest
Flag: EXEMPT small fix
Change-Id: Ia40bbe33952fa7ea2b951c04cf47b4a05f641e26
2024-08-27 15:37:59 +00:00
Yiyi Shen
a7d0d00f4a Fix crash when showing the device not found dialog.
If users click to pair a not foundable device and then close the Settings page,
Settings will crash becasue dialog holder is closed.
This CL is part of the fix. It set the context to null when the activity
stops.

Bug: 306548036
Test: atest
Change-Id: If68e3e9cd62216ad83b2e5058f504fce35e36a06
2023-10-23 17:26:17 +08:00
Yiyi Shen
f512283d8d Add more logging.
Bug: 296507968
Test: atest
Change-Id: I7b4372d749713638c7973e9fe8bcf7e14a96e2de
2023-10-18 17:52:04 +08:00
Yiyi Shen
9a05a180fa Quick fix: fix bug when using binary search,
Bug: 296507968
Test: Manual
Change-Id: I644160cf97e4873a2cf7c88dc2ff1fd6c0c94d33
2023-09-20 18:33:55 +08:00
Yiyi Shen
71d9c21856 Add a new section to show eligible Fast Pair devices.
The section only show at most 3 devices. If the device list size is
greater than 3, we will show a "See all".
The device Preference is ordered. FastPairDeviceUpdater will handle the
order logic.
Bug: 296507968
Test: FastPairDevicePreferenceControllerTest

Change-Id: I9692d5740dbc31ff50db0ebbf2c5535b726277c9
2023-09-04 11:32:32 +08:00