Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_flowbox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_flowbox
Commits
18a5d727
Commit
18a5d727
authored
Jul 05, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
3f24f8fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
NotificationService.java
...java/com/mints/flowbox/keepalive/NotificationService.java
+4
-1
HomeFragment.kt
...c/main/java/com/mints/flowbox/ui/fragment/HomeFragment.kt
+1
-0
No files found.
app/src/main/java/com/mints/flowbox/keepalive/NotificationService.java
View file @
18a5d727
...
@@ -47,7 +47,10 @@ public class NotificationService extends Service {
...
@@ -47,7 +47,10 @@ public class NotificationService extends Service {
super
.
onCreate
();
super
.
onCreate
();
// 开启定时器
// 开启定时器
AlarmManager
.
getInstance
().
startTime
();
try
{
AlarmManager
.
getInstance
().
startTime
();
}
catch
(
Exception
e
)
{
}
try
{
try
{
notification
=
getFixedNotification
(
this
);
notification
=
getFixedNotification
(
this
);
...
...
app/src/main/java/com/mints/flowbox/ui/fragment/HomeFragment.kt
View file @
18a5d727
...
@@ -331,6 +331,7 @@ class HomeFragment : BaseFragment(), WifiStateManager.WifiStateCallback,
...
@@ -331,6 +331,7 @@ class HomeFragment : BaseFragment(), WifiStateManager.WifiStateCallback,
bundle
.
putInt
(
Constant
.
WRAPPER_TYPE
,
Constant
.
WRAPPER_TYPE_WZ
)
bundle
.
putInt
(
Constant
.
WRAPPER_TYPE
,
Constant
.
WRAPPER_TYPE_WZ
)
readyGo
(
WrapperActivity
::
class
.
java
,
bundle
)
readyGo
(
WrapperActivity
::
class
.
java
,
bundle
)
}
}
Constant
.
HOT_ACTIVITY_CPD
->
{
Constant
.
HOT_ACTIVITY_CPD
->
{
if
(!
UserManager
.
getInstance
().
userIsLogin
())
{
if
(!
UserManager
.
getInstance
().
userIsLogin
())
{
readyGo
(
WxLoginActivity
::
class
.
java
)
readyGo
(
WxLoginActivity
::
class
.
java
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment