Remove Profile Auto connection specific logic
Remove profile auto connection specific logic as it is not implemented in Bluetooth app Disconnect PBAP server connection when user initiates device level disconnection Change-Id: I381ed96f6b57f414bbaccd694f55d2b992e330a4
This commit is contained in:
committed by
Matthew Xie
parent
9effd14611
commit
0654b71534
@@ -101,9 +101,6 @@ final class BluetoothEventManager {
|
||||
// Dock event broadcasts
|
||||
addHandler(Intent.ACTION_DOCK_EVENT, new DockEventHandler());
|
||||
|
||||
// Connect other profiles broadcast
|
||||
addHandler(BluetoothProfile.ACTION_CONNECT_OTHER_PROFILES, new ConnectOtherProfilesHandler());
|
||||
|
||||
mContext.registerReceiver(mBroadcastReceiver, mAdapterIntentFilter);
|
||||
}
|
||||
|
||||
@@ -372,13 +369,6 @@ final class BluetoothEventManager {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private class ConnectOtherProfilesHandler implements Handler {
|
||||
public void onReceive(Context context, Intent intent, BluetoothDevice device) {
|
||||
mProfileManager.handleConnectOtherProfiles(device);
|
||||
}
|
||||
}
|
||||
|
||||
boolean readPairedDevices() {
|
||||
Set<BluetoothDevice> bondedDevices = mLocalAdapter.getBondedDevices();
|
||||
if (bondedDevices == null) {
|
||||
|
||||
Reference in New Issue
Block a user