1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-10 18:54:20 +02:00

don't invoke Bluetooth search on activity result

This commit is contained in:
OliE
2016-12-21 13:24:55 +01:00
parent e5bc4b17d7
commit ba353fc65e

View File

@@ -171,13 +171,6 @@ public class MainActivity extends ActionBarActivity implements
return super.onOptionsItemSelected(item);
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
invokeSearchBluetoothDevice();
}
private void invokeSearchBluetoothDevice() {
if (!BluetoothAdapter.getDefaultAdapter().isEnabled()) {
return;