Commit 6f587c0c by cuiliang.shi

误删代码 上传标记

1 parent dd13318e
......@@ -6,8 +6,8 @@ android {
applicationId "com.agenew.location_server.application"
minSdkVersion 23
targetSdkVersion 28
versionCode 8
versionName "1.8"
versionCode 9
versionName "1.9"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
......
......@@ -106,6 +106,7 @@ public class BirdService extends Service {
if (netWorkChangReceiver !=null){
unregisterReceiver(netWorkChangReceiver);
}
mHasSendTheLocationInfo = false;
mWifiAvailableErrorCount = 0;
mNetworkAvailableErrorCount = 0;
mLocationCount = 0;
......@@ -388,6 +389,7 @@ public class BirdService extends Service {
}else{
Log.d(TAG, "upload failed");
}
mHasSendTheLocationInfo = true;
} else if (responseCode != 200) {
Log.d(TAG, "request failed");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!