Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
石璀亮
/
agenew_a16_sos
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6f587c0c
authored
Apr 22, 2019
by
cuiliang.shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
误删代码 上传标记
1 parent
dd13318e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
app/build.gradle
app/src/main/java/com/agenew/location_server/application/BirdService.java
app/build.gradle
View file @
6f587c0
...
@@ -6,8 +6,8 @@ android {
...
@@ -6,8 +6,8 @@ android {
applicationId
"com.agenew.location_server.application"
applicationId
"com.agenew.location_server.application"
minSdkVersion
23
minSdkVersion
23
targetSdkVersion
28
targetSdkVersion
28
versionCode
8
versionCode
9
versionName
"1.
8
"
versionName
"1.
9
"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
}
}
buildTypes
{
buildTypes
{
...
...
app/src/main/java/com/agenew/location_server/application/BirdService.java
View file @
6f587c0
...
@@ -106,6 +106,7 @@ public class BirdService extends Service {
...
@@ -106,6 +106,7 @@ public class BirdService extends Service {
if
(
netWorkChangReceiver
!=
null
){
if
(
netWorkChangReceiver
!=
null
){
unregisterReceiver
(
netWorkChangReceiver
);
unregisterReceiver
(
netWorkChangReceiver
);
}
}
mHasSendTheLocationInfo
=
false
;
mWifiAvailableErrorCount
=
0
;
mWifiAvailableErrorCount
=
0
;
mNetworkAvailableErrorCount
=
0
;
mNetworkAvailableErrorCount
=
0
;
mLocationCount
=
0
;
mLocationCount
=
0
;
...
@@ -388,6 +389,7 @@ public class BirdService extends Service {
...
@@ -388,6 +389,7 @@ public class BirdService extends Service {
}
else
{
}
else
{
Log
.
d
(
TAG
,
"upload failed"
);
Log
.
d
(
TAG
,
"upload failed"
);
}
}
mHasSendTheLocationInfo
=
true
;
}
else
if
(
responseCode
!=
200
)
{
}
else
if
(
responseCode
!=
200
)
{
Log
.
d
(
TAG
,
"request failed"
);
Log
.
d
(
TAG
,
"request failed"
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment