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
c845b40d
Commit
c845b40d
authored
Dec 20, 2024
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
702402d3
Pipeline
#1387
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
3 deletions
+33
-3
Global.java
.../main/java/com/swiftcleaner/chovey/model/bean/Global.java
+5
-1
NotificationUtils.kt
app/src/main/java/com/zxdemo/notity/NotificationUtils.kt
+28
-2
No files found.
app/src/main/java/com/swiftcleaner/chovey/model/bean/Global.java
View file @
c845b40d
...
...
@@ -2,9 +2,13 @@ package com.swiftcleaner.chovey.model.bean;
public
class
Global
{
public
static
String
FUNCTION_CLEAN
=
"function_clean"
;
public
static
String
FUNCTION_APP_MANAGER
=
"function_app_manager"
;
public
static
String
FUNCTION_BATTERY
=
"function_battery"
;
public
static
String
FUNCTION_LARGE_FILE
=
"function_large_file"
;
public
static
String
FUNCTION_APP_MANAGER
=
"function_app_manager"
;
public
static
String
FUNCTION_WHATS_APP
=
"function_whats_app"
;
public
static
String
FUNCTION_APP_PROCESS
=
"function_app_process"
;
public
static
String
FUNCTION_SIMILAR_PHOTOS
=
"function_similar_photos"
;
public
static
String
FUNCTION_SCREENSHOT
=
"function_screenshot"
;
//配置
...
...
app/src/main/java/com/zxdemo/notity/NotificationUtils.kt
View file @
c845b40d
...
...
@@ -18,9 +18,13 @@ import androidx.core.content.ContextCompat
import
com.swiftcleaner.chovey.R
import
com.swiftcleaner.chovey.model.bean.Global
import
com.swiftcleaner.chovey.model.bean.Global.FUNCTION_APP_MANAGER
import
com.swiftcleaner.chovey.model.bean.Global.FUNCTION_APP_PROCESS
import
com.swiftcleaner.chovey.model.bean.Global.FUNCTION_BATTERY
import
com.swiftcleaner.chovey.model.bean.Global.FUNCTION_CLEAN
import
com.swiftcleaner.chovey.model.bean.Global.FUNCTION_LARGE_FILE
import
com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SCREENSHOT
import
com.swiftcleaner.chovey.model.bean.Global.FUNCTION_SIMILAR_PHOTOS
import
com.swiftcleaner.chovey.model.bean.Global.FUNCTION_WHATS_APP
import
com.swiftcleaner.chovey.model.bean.Global.NotificationStayCount
import
com.swiftcleaner.chovey.model.bean.Global.NotificationStayDelay
import
com.swiftcleaner.chovey.model.bean.Global.NotificationStayStatus
...
...
@@ -38,9 +42,13 @@ object NotificationUtils {
private
val
NOTIFICATION_IDS
=
arrayOf
(
FUNCTION_CLEAN
,
FUNCTION_APP_MANAGER
,
FUNCTION_BATTERY
,
FUNCTION_APP_MANAGER
,
FUNCTION_LARGE_FILE
,
FUNCTION_WHATS_APP
,
FUNCTION_APP_PROCESS
,
FUNCTION_SIMILAR_PHOTOS
,
FUNCTION_SCREENSHOT
)
...
...
@@ -148,9 +156,27 @@ object NotificationUtils {
intentAction
=
Global
.
FUNCTION_CLEAN
}
FUNCTION_APP_MANAGER
->
{
}
FUNCTION_BATTERY
->
{
}
FUNCTION_LARGE_FILE
->
{
}
FUNCTION_WHATS_APP
->
{
}
FUNCTION_APP_PROCESS
->
{
}
FUNCTION_SIMILAR_PHOTOS
->
{
}
FUNCTION_SCREENSHOT
->
{
}
else
->
{
...
...
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