diff --git a/project.properties b/project.properties index 0c9830a..a3ee5ab 100644 --- a/project.properties +++ b/project.properties @@ -11,4 +11,4 @@ #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target. -target=Google Inc.:Google APIs:17 +target=android-17 diff --git a/src/org/traccar/client/Connection.java b/src/org/traccar/client/Connection.java index 0d4abd8..a2a3c4b 100644 --- a/src/org/traccar/client/Connection.java +++ b/src/org/traccar/client/Connection.java @@ -83,7 +83,7 @@ public class Connection implements Closeable { } @Override - protected void onCancelled(Boolean result) { + protected void onCancelled() { if (!closed) { busy = false; handler.onConnected(false); @@ -120,7 +120,7 @@ public class Connection implements Closeable { } @Override - protected void onCancelled(Boolean result) { + protected void onCancelled() { if (!closed) { busy = false; handler.onSent(false);