[BT] Correct the filter when addCachedDevices
In Change Ia9750adb6b4c1424d084381e9d7c2ca8e7912391, addCachedDevices() becomes async, but the filter is set outside of addCachedDevices(), which makes the filter not apply to addCachedDevices(). Direct pass the filter to addCachedDevices() to fix this issue. Also migrate the test to Kotlin so we can test coroutine. Fix: 289876965 Test: manual - check BT pairing page Test: m RunSettingsRoboTests Change-Id: I95b16840881747ec9f69e5cd778e456bcc8a7626 (cherry picked from commit 8dd32ab0) Merged-In: I95b16840881747ec9f69e5cd778e456bcc8a7626
Loading
Please register or sign in to comment