Remove the function that not used in BluetoothCallback

Bug: 111811266
Test: Build pass
Change-Id: Ib33ec31607931f5e67d5119cf9b0cb6b894794a0
This commit is contained in:
hughchen
2018-08-06 17:53:08 +08:00
parent eda8a01c23
commit de6d3202e1
5 changed files with 0 additions and 112 deletions

View File

@@ -184,14 +184,6 @@ public abstract class AudioSwitchPreferenceController extends BasePreferenceCont
unregister();
}
/**
* Only concerned about whether the local adapter is connected to any profile of any device and
* are not really concerned about which profile.
*/
@Override
public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) {
}
@Override
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {
updateState(mPreference);
@@ -208,17 +200,6 @@ public abstract class AudioSwitchPreferenceController extends BasePreferenceCont
updateState(mPreference);
}
@Override
public void onBluetoothStateChanged(int bluetoothState) {
}
/**
* The local Bluetooth adapter has started the remote device discovery process.
*/
@Override
public void onScanningStateChanged(boolean started) {
}
/**
* Indicates a change in the bond state of a remote
* device. For example, if a device is bonded (paired).
@@ -228,14 +209,6 @@ public abstract class AudioSwitchPreferenceController extends BasePreferenceCont
updateState(mPreference);
}
@Override
public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) {
}
@Override
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {
}
public void setCallback(AudioSwitchCallback callback) {
mAudioSwitchPreferenceCallback = callback;
}