Commit c845b40d authored by Your Name's avatar Your Name

.

parent 702402d3
Pipeline #1387 canceled with stages
......@@ -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";
//配置
......
......@@ -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 -> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment