Loading core/java/android/server/BluetoothBondState.java +6 −2 Original line number Diff line number Diff line Loading @@ -89,7 +89,12 @@ class BluetoothBondState { return mPendingOutgoingBonding; } public synchronized void loadBondState() { public synchronized void initBondState() { getProfileProxy(); loadBondState(); } private void loadBondState() { if (mService.getBluetoothStateInternal() != BluetoothAdapter.STATE_TURNING_ON) { return; Loading @@ -108,7 +113,6 @@ class BluetoothBondState { mState.put(mService.getAddressFromObjectPath(device).toUpperCase(), BluetoothDevice.BOND_BONDED); } getProfileProxy(); } public synchronized void setBondState(String address, int state) { Loading core/java/android/server/BluetoothService.java +1 −1 Original line number Diff line number Diff line Loading @@ -570,7 +570,7 @@ public class BluetoothService extends IBluetooth.Stub { mIsDiscovering = false; mBondState.readAutoPairingData(); mBondState.loadBondState(); mBondState.initBondState(); initProfileState(); // This should be the last step of the the enable thread. Loading Loading
core/java/android/server/BluetoothBondState.java +6 −2 Original line number Diff line number Diff line Loading @@ -89,7 +89,12 @@ class BluetoothBondState { return mPendingOutgoingBonding; } public synchronized void loadBondState() { public synchronized void initBondState() { getProfileProxy(); loadBondState(); } private void loadBondState() { if (mService.getBluetoothStateInternal() != BluetoothAdapter.STATE_TURNING_ON) { return; Loading @@ -108,7 +113,6 @@ class BluetoothBondState { mState.put(mService.getAddressFromObjectPath(device).toUpperCase(), BluetoothDevice.BOND_BONDED); } getProfileProxy(); } public synchronized void setBondState(String address, int state) { Loading
core/java/android/server/BluetoothService.java +1 −1 Original line number Diff line number Diff line Loading @@ -570,7 +570,7 @@ public class BluetoothService extends IBluetooth.Stub { mIsDiscovering = false; mBondState.readAutoPairingData(); mBondState.loadBondState(); mBondState.initBondState(); initProfileState(); // This should be the last step of the the enable thread. Loading