Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
Easy Cleaner Junk
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
Easy Cleaner Junk
Commits
d7c6a9e5
Commit
d7c6a9e5
authored
Jul 01, 2024
by
leichao.gao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改推送文案
parent
c5877018
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
NotificationUtil.java
...a/com/test/easy/easycleanerjunk/fcm/NotificationUtil.java
+4
-4
No files found.
app/src/main/java/com/test/easy/easycleanerjunk/fcm/NotificationUtil.java
View file @
d7c6a9e5
...
@@ -83,7 +83,7 @@ public class NotificationUtil {
...
@@ -83,7 +83,7 @@ public class NotificationUtil {
}
}
int
interval
=
SPUtils
.
getInstance
().
getInt
(
"notification_interval"
,
60
);
int
interval
=
SPUtils
.
getInstance
().
getInt
(
"notification_interval"
,
60
);
long
lastTime
=
SPUtils
.
getInstance
().
get
Int
(
"last_notification_time"
,
0
);
long
lastTime
=
SPUtils
.
getInstance
().
get
Long
(
"last_notification_time"
,
0
);
long
nowTime
=
System
.
currentTimeMillis
();
long
nowTime
=
System
.
currentTimeMillis
();
long
x
=
nowTime
-
lastTime
;
long
x
=
nowTime
-
lastTime
;
if
(
x
<
(
interval
*
1000
))
{
if
(
x
<
(
interval
*
1000
))
{
...
@@ -157,7 +157,7 @@ public class NotificationUtil {
...
@@ -157,7 +157,7 @@ public class NotificationUtil {
btn
=
"Clean up"
;
btn
=
"Clean up"
;
}
else
if
(
actionId
==
ConfigBean
.
ID_APP_MANAGER
)
{
}
else
if
(
actionId
==
ConfigBean
.
ID_APP_MANAGER
)
{
icon
=
R
.
drawable
.
appmanager
;
icon
=
R
.
drawable
.
appmanager
;
desc
=
"
Manage apps that are not frequently used, free up storage space on your phone, and keep it running smoothly
!"
;
desc
=
"
Running out of space on your phone? Manage less frequently used apps to free up space on your phone
!"
;
btn
=
"View"
;
btn
=
"View"
;
}
else
if
(
actionId
==
ConfigBean
.
ID_BATTERY
)
{
}
else
if
(
actionId
==
ConfigBean
.
ID_BATTERY
)
{
icon
=
R
.
drawable
.
battery
;
icon
=
R
.
drawable
.
battery
;
...
@@ -165,11 +165,11 @@ public class NotificationUtil {
...
@@ -165,11 +165,11 @@ public class NotificationUtil {
btn
=
"View"
;
btn
=
"View"
;
}
else
if
(
actionId
==
ConfigBean
.
ID_SCREENSHOT_CLEAN
)
{
}
else
if
(
actionId
==
ConfigBean
.
ID_SCREENSHOT_CLEAN
)
{
icon
=
R
.
drawable
.
similar
;
icon
=
R
.
drawable
.
similar
;
desc
=
"Too many screenshots? Free up your phone storage!
"
;
desc
=
"Too many screenshots? Free up your phone storage!
btn = "
View
";
btn = "
View
";
} else if (actionId == ConfigBean.ID_WHATSAPP) {
} else if (actionId == ConfigBean.ID_WHATSAPP) {
icon = R.drawable.whatsapp_clean;
icon = R.drawable.whatsapp_clean;
desc
=
"Running out of storage space on your phone? Clean up WhatsApp to free up space"
;
desc = "
Running
out
of
storage
space
on
your
phone
?
Clean
up
WhatsApp
junk
files
to
free
up
space
";
btn = "
View
";
btn = "
View
";
} else {
} else {
return;
return;
...
...
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