Commit 14b3e20d by cuiliang.shi

1.9

1 parent 6f587c0c
......@@ -6,8 +6,8 @@ android {
applicationId "com.agenew.location_server.application"
minSdkVersion 23
targetSdkVersion 28
versionCode 9
versionName "1.9"
versionCode 10
versionName "2.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
......
......@@ -127,7 +127,7 @@ public class BirdService extends Service {
+ ", cfgv: " + ret_cfgv + ", path: " + mPath);
searchGPS();
IotApi.init();
// IotApi.init();
mHandler.sendEmptyMessageDelayed(0, 1000);
return super.onStartCommand(intent, flags, startId);
......@@ -404,7 +404,7 @@ public class BirdService extends Service {
} catch (Exception e) {
Log.d(TAG, "Exception:" + e.toString());
setAlarm();
mErrorCount++;
if (mErrorCount > 5){
setAlarm();
......@@ -647,7 +647,7 @@ public class BirdService extends Service {
+ ", cfgv: " + ret_cfgv + ", path: " + mPath);
searchGPS();
IotApi.init();
// IotApi.init();
mHandler.sendEmptyMessageDelayed(0, 1000);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!