Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
swiftcleanerphonehelper
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
swiftcleanerphonehelper
Commits
7e330c66
Commit
7e330c66
authored
Dec 20, 2024
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a68b65da
Pipeline
#1389
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
2 deletions
+44
-2
NotificationUtils.kt
app/src/main/java/com/zxdemo/notity/NotificationUtils.kt
+44
-2
jg__appprocss.png
app/src/main/res/mipmap-xxhdpi/jg__appprocss.png
+0
-0
No files found.
app/src/main/java/com/zxdemo/notity/NotificationUtils.kt
View file @
7e330c66
...
...
@@ -129,8 +129,8 @@ object NotificationUtils {
var
intentAction
=
""
when
(
actionId
)
{
FUNCTION_CLEAN
->
{
bigRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_clean
)
smallRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_clean
)
bigRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_clean
junk
)
smallRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_clean
junk
)
val
desc
=
"Clean out junk files to free up space on your phone!"
bigRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
...
...
@@ -139,26 +139,68 @@ object NotificationUtils {
}
FUNCTION_APP_MANAGER
->
{
bigRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_appmanager
)
smallRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_appmanager
)
val
desc
=
"Clean out junk files to free up space on your phone!"
bigRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
smallRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
intentAction
=
Global
.
FUNCTION_CLEAN
}
FUNCTION_BATTERY
->
{
bigRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_batteryinfo
)
smallRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_batteryinfo
)
val
desc
=
"Clean out junk files to free up space on your phone!"
bigRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
smallRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
intentAction
=
Global
.
FUNCTION_CLEAN
}
FUNCTION_LARGE_FILE
->
{
bigRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_large
)
smallRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_large
)
val
desc
=
"Clean out junk files to free up space on your phone!"
bigRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
smallRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
intentAction
=
Global
.
FUNCTION_CLEAN
}
FUNCTION_WHATS_APP
->
{
bigRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_whatsapp
)
smallRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_whatsapp
)
val
desc
=
"Clean out junk files to free up space on your phone!"
bigRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
smallRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
intentAction
=
Global
.
FUNCTION_CLEAN
}
FUNCTION_APP_PROCESS
->
{
bigRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
jg__appprocss
)
smallRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
jg__appprocss
)
val
desc
=
"Clean out junk files to free up space on your phone!"
bigRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
smallRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
intentAction
=
Global
.
FUNCTION_CLEAN
}
FUNCTION_SIMILAR_PHOTOS
->
{
bigRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_simiar
)
smallRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_simiar
)
val
desc
=
"Clean out junk files to free up space on your phone!"
bigRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
smallRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
intentAction
=
Global
.
FUNCTION_CLEAN
}
FUNCTION_SCREENSHOT
->
{
bigRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_screenshot
)
smallRemoteViews
.
setImageViewResource
(
R
.
id
.
iv_icon
,
R
.
mipmap
.
h_screenshot
)
val
desc
=
"Clean out junk files to free up space on your phone!"
bigRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
smallRemoteViews
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
intentAction
=
Global
.
FUNCTION_CLEAN
}
else
->
{
...
...
app/src/main/res/mipmap-xxhdpi/jg__appprocss.png
0 → 100644
View file @
7e330c66
18.2 KB
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