Farm alarm #34

Merged
senaduka merged 2 commits from farm_alarm into master 2016-12-30 16:31:41 +01:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit f579dabbcb - Show all commits

View File

@@ -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
}

View File

@@ -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();