Bluetooth: remove BluetoothDiscoveryReceiver
Use new function getDiscoveryEndMillis() to replace use of shared preferences and intents. Test: scan recently, then connect from external BT device Bug: 34395439 Change-Id: Ia498b3bb4868b656cbbb9fbdc607a49af948343b
This commit is contained in:
@@ -938,13 +938,7 @@ public final class DockService extends Service implements ServiceListener {
|
||||
public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { }
|
||||
public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { }
|
||||
public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { }
|
||||
|
||||
@Override
|
||||
public void onScanningStateChanged(boolean started) {
|
||||
// TODO: Find a more unified place for a persistent BluetoothCallback to live
|
||||
// as this is not exactly dock related.
|
||||
LocalBluetoothPreferences.persistDiscoveringTimestamp(mContext);
|
||||
}
|
||||
public void onScanningStateChanged(boolean started) { }
|
||||
|
||||
@Override
|
||||
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {
|
||||
|
||||
Reference in New Issue
Block a user