Remove Bluetooth autoconnect on dock

Test: compiles
Change-Id: I31305c70269c685893132f14975c32a051280afc
Fix: 35219649
This commit is contained in:
Marie Janssen
2017-02-09 20:02:52 -08:00
parent ad62fd52c9
commit c2ab27e2f8
5 changed files with 0 additions and 1174 deletions

View File

@@ -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);
}
};