alarm ignores network
This commit is contained in:
Binary file not shown.
@@ -7,8 +7,8 @@ android {
|
||||
applicationId "com.zoblak.farm"
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 24
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
versionCode 101
|
||||
versionName "1.0.1"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
|
||||
@@ -67,8 +67,8 @@ public class ZoblakClient {
|
||||
Log.e("zoblakClient", "malformed: " + e.getLocalizedMessage());
|
||||
} catch (IOException e) {
|
||||
Log.e("zoblakClient", "ioexception: " + e.getLocalizedMessage());
|
||||
result.setAlarmTriggered(true);
|
||||
result.setServerError(true);
|
||||
result.setAlarmTriggered(false);
|
||||
result.setServerError(false);
|
||||
}
|
||||
|
||||
if (urlConnection != null) urlConnection.disconnect();
|
||||
|
||||
Reference in New Issue
Block a user