• Jie Jiang's avatar
    arc: bluetooth: Send cached devices to Android · 0169cde1
    Jie Jiang authored
    This change implements SendCachedDevices(), which should be called
    after Bluetooth service in Android starts, to make device cache synced
    between Chrome and Android. Here "cache devices" means devices that
    have been discovered (not necessarily paired or connected) but not yet
    expired. Some Android apps depend on this device cache, e.g., get info
    of paired devices.
    
    BUG=b:147401863
    BUG=chromium:949918
    TEST=Manually test with nRF: paired device can be seen in "BONDED" tab
    after reboot or restart Bluetooth.
    
    Change-Id: I80a813706770e9505b6b1db7a502739723e71f69
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2000398
    Commit-Queue: Jie Jiang <jiejiang@chromium.org>
    Reviewed-by: default avatarMiao-chen Chou <mcchou@chromium.org>
    Reviewed-by: default avatarHidehiko Abe <hidehiko@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#736233}
    0169cde1
arc_bluetooth_bridge.cc 116 KB