OSDN Git Service

Read paired device After LocalBtManager is created
authorjackqdyulei <jackqdyulei@google.com>
Fri, 22 Dec 2017 17:50:28 +0000 (09:50 -0800)
committerjackqdyulei <jackqdyulei@google.com>
Fri, 22 Dec 2017 18:32:44 +0000 (10:32 -0800)
commit65d113653c90a5bdb0d8c25229e2111e5f1b7153
tree6fccdd1795f49f30872bd2202576c831da2b7bbf
parente1080cfceb241be88698262a2fada6ac7e6693f6
Read paired device After LocalBtManager is created

After this cl, it could guarantee that device list always has
saved devices:
1. Even though in onCreate(Fix flaky UI)
2. Even though there is no other bluetooth event to trigger it
(e.g. no device is connecting)

Fixes: 70934171
Fixes: 63910184
Test: Build
Change-Id: Iec628d455690a68d92f201f6eac9cd97b555b2b4
packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothManager.java