Skip to content

Commit

Permalink
Recognize new droplet device.
Browse files Browse the repository at this point in the history
Signed-off-by: Tzachi Dar <[email protected]>
  • Loading branch information
tzachi-dar committed Aug 20, 2019
1 parent 33fe112 commit 4973a1b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ protected void onListItemClick(ListView l, View v, int position, long id) {
if (device.getName().toLowerCase().contains("limitter")
&& (adverts.containsKey(device.getAddress())
&& ((new String(adverts.get(device.getAddress()), "UTF-8").contains("eLeR"))
|| (new String(adverts.get(device.getAddress()), "UTF-8").contains("data"))))) {
|| (new String(adverts.get(device.getAddress()), "UTF-8").contains("data"))))||
device.getName().toLowerCase().contains("limitterd")) {
String msg = "Auto-detected transmiter_pl device!";
Log.e(TAG, msg);
JoH.static_toast_long(msg);
Expand Down

0 comments on commit 4973a1b

Please sign in to comment.