Skip to content

Commit

Permalink
fixed bug to send instructions when only when device is connected
Browse files Browse the repository at this point in the history
  • Loading branch information
bayosip committed Aug 21, 2021
1 parent 719a534 commit 079ba1a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ public void getUUIDFromPopUp(List<String> listUUID){

@Override
public void getDeviceAddressFromPopUp() {
if (listDevice.size()>1){
List<String> addresses = new ArrayList<>();
for (Parcelable p : listDevice){
BluetoothDevice bd = (BluetoothDevice)p;
Expand All @@ -139,7 +138,6 @@ public void getDeviceAddressFromPopUp() {
ServiceSelectorDialog.setListUUID(addresses, ADDR);
if (!dialog.isAdded())
dialog.show(getSupportFragmentManager(), "Device Selector");
}
}

@Override
Expand Down

0 comments on commit 079ba1a

Please sign in to comment.