mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-13 20:24:14 +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);
|
return super.onOptionsItemSelected(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
|
||||||
super.onActivityResult(requestCode, resultCode, data);
|
|
||||||
|
|
||||||
invokeSearchBluetoothDevice();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void invokeSearchBluetoothDevice() {
|
private void invokeSearchBluetoothDevice() {
|
||||||
if (!BluetoothAdapter.getDefaultAdapter().isEnabled()) {
|
if (!BluetoothAdapter.getDefaultAdapter().isEnabled()) {
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user