Fix usage of new API level
Этот коммит содержится в:
@@ -11,4 +11,4 @@
|
|||||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||||
|
|
||||||
# Project target.
|
# Project target.
|
||||||
target=Google Inc.:Google APIs:17
|
target=android-17
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ public class Connection implements Closeable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCancelled(Boolean result) {
|
protected void onCancelled() {
|
||||||
if (!closed) {
|
if (!closed) {
|
||||||
busy = false;
|
busy = false;
|
||||||
handler.onConnected(false);
|
handler.onConnected(false);
|
||||||
@@ -120,7 +120,7 @@ public class Connection implements Closeable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCancelled(Boolean result) {
|
protected void onCancelled() {
|
||||||
if (!closed) {
|
if (!closed) {
|
||||||
busy = false;
|
busy = false;
|
||||||
handler.onSent(false);
|
handler.onSent(false);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user