fixed bug
This commit is contained in:
@@ -413,7 +413,9 @@ public class MainLauncherActivity extends MainActivity implements IMogoIntentLis
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Log.d("liyz", "connectBluetooth macAddress = " + macAddress + "---pos = " + pos);
|
// Log.d("liyz", "connectBluetooth macAddress = " + macAddress + "---pos = " + pos);
|
||||||
method.invoke(mAreadlyConnectedList.get(pos));
|
if (mAreadlyConnectedList.size() > pos && (pos >= 0)) {
|
||||||
|
method.invoke(mAreadlyConnectedList.get(pos));
|
||||||
|
}
|
||||||
|
|
||||||
} catch (NoSuchMethodException e) {
|
} catch (NoSuchMethodException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
Reference in New Issue
Block a user