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 84db52e3
authored
Mar 22, 2019
by
cuiliang.shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
默认设置
1 parent
e8c962e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
app/src/main/java/com/agenew/location_server/application/BirdService.java
app/src/main/java/com/agenew/location_server/application/BirdService.java
View file @
84db52e
...
@@ -111,6 +111,8 @@ public class BirdService extends Service {
...
@@ -111,6 +111,8 @@ public class BirdService extends Service {
}
}
notification
.
flags
|=
Notification
.
FLAG_NO_CLEAR
;
notification
.
flags
|=
Notification
.
FLAG_NO_CLEAR
;
startForeground
(
1
,
notification
);
startForeground
(
1
,
notification
);
}
else
{
DevicePreferences
.
getInstance
(
this
).
putBoolean
(
"is_need_notification"
,
true
);
}
}
ret_cfgv
=
DevicePreferences
.
getInstance
(
getApplicationContext
()).
getString
(
"bird_ret_cfgv"
,
"0"
);
ret_cfgv
=
DevicePreferences
.
getInstance
(
getApplicationContext
()).
getString
(
"bird_ret_cfgv"
,
"0"
);
...
...
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