Commit a11e3e5e authored by wanglei's avatar wanglei

[拆包]通知图标

parent 8cfabf3a
......@@ -206,10 +206,10 @@ object MyNotificationManager {
private val looper_actionId = listOf(
// ACTION_ID_TEST,
JUNK_CLEAN,
PHOTO_COMPRESSION,
SCREENSHOT_CLEAN,
UNINSTALL_APP,
LARGE_FILE_CLEAN,
PHOTO_COMPRESSION,
BATTERY_INFO,
SIMILAR_PHOTOS,
)
......
......@@ -29,8 +29,8 @@ import kotlin.random.Random
*/
object NotificationUiUtil {
private val CHANNEL_ID = "super cleaner Channel"
private val CHANNEL_NAME = "super cleaner Channel NAME"
private val CHANNEL_ID = "simple cleaner Channel"
private val CHANNEL_NAME = "simple cleaner Channel NAME"
/**
* 这部分准备UI的代码不能放入IO
......@@ -69,20 +69,6 @@ object NotificationUiUtil {
debugAction.invoke(this)
}
}
// ANTIVIRUS -> {
// val text = testNotificationId + context.getString(R.string.notif_antivirus)
// sendBean.smallRemoteViews = RemoteViews(context.packageName, R.layout.notification_common_small).apply {
// setTextViewText(R.id.tv1, text)
// setImageViewResource(R.id.ivIcon, R.drawable.icon_antivirus_push)
// debugAction.invoke(this)
// }
// sendBean.bigRemoteViews = RemoteViews(context.packageName, R.layout.notification_common_large).apply {
// setTextViewText(R.id.tv1, text)
// setImageViewResource(R.id.ivIcon, R.drawable.icon_antivirus_push)
// debugAction.invoke(this)
// }
// }
UNINSTALL_APP -> {
val text = testNotificationId + context.getString(R.string.notify_uninstall_app)
sendBean.smallRemoteViews = RemoteViews(context.packageName, R.layout.notification_common_small).apply {
......
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