Commit 841b13a2 authored by wanglei's avatar wanglei

Merge branch 'master' of gitlab.huolea.com:koko/swiftcleanerphonehelper

# Conflicts:
#	app/src/main/java/com/zxdemo/notity/NotificationUtils.kt
parents 77f295db 7e330c66
Pipeline #1390 canceled with stages
......@@ -139,8 +139,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_cleanjunk)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_cleanjunk)
val desc = "Clean out junk files to free up space on your phone!"
bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
......@@ -148,33 +148,69 @@ object NotificationUtils {
intentAction = Global.FUNCTION_CLEAN
}
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)
FUNCTION_WHATS_APP -> {
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 -> {
......
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