Merge "Remove Bluetooth autoconnect on dock" am: b65c7fc810
am: e7d5b13f53
am: deb32c220b
am: 76405153d1
Change-Id: I5d4283ec0aa65b8faf6a97693dcdb40df353c48a
This commit is contained in:
@@ -24,7 +24,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;
|
||||
@@ -85,11 +84,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);
|
||||
}
|
||||
|
||||
@@ -147,8 +141,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