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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user