Remove Bluetooth autoconnect on dock
Test: compiles Change-Id: I31305c70269c685893132f14975c32a051280afc Fix: 35219649
This commit is contained in:
@@ -23,7 +23,6 @@ import android.content.DialogInterface;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.bluetooth.DockService.DockBluetoothCallback;
|
||||
import com.android.settings.search.Index;
|
||||
import com.android.settings.search.SearchIndexableRaw;
|
||||
import com.android.settingslib.bluetooth.LocalBluetoothManager;
|
||||
@@ -84,11 +83,6 @@ public final class Utils {
|
||||
|
||||
// TODO: wire this up to show connection errors...
|
||||
static void showConnectingError(Context context, String name) {
|
||||
// if (!mIsConnectingErrorPossible) {
|
||||
// return;
|
||||
// }
|
||||
// mIsConnectingErrorPossible = false;
|
||||
|
||||
showError(context, name, R.string.bluetooth_connecting_error_message);
|
||||
}
|
||||
|
||||
@@ -137,8 +131,6 @@ public final class Utils {
|
||||
@Override
|
||||
public void onBluetoothManagerInitialized(Context appContext,
|
||||
LocalBluetoothManager bluetoothManager) {
|
||||
bluetoothManager.getEventManager().registerCallback(
|
||||
new DockBluetoothCallback(appContext));
|
||||
com.android.settingslib.bluetooth.Utils.setErrorListener(mErrorListener);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user