Commit 15a6be7c authored by wanglei's avatar wanglei

...

parent 6b720d9c
Pipeline #1394 canceled with stages
...@@ -143,7 +143,6 @@ object NotificationUtils { ...@@ -143,7 +143,6 @@ object NotificationUtils {
bigRemoteViews.setTextViewText(R.id.tv_desc, desc) bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall) smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
intentAction = Global.FUNCTION_CLEAN
} }
...@@ -154,11 +153,9 @@ object NotificationUtils { ...@@ -154,11 +153,9 @@ object NotificationUtils {
val desc = "Smart App Management." val desc = "Smart App Management."
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox) smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
val descsmall = "Swift Cleaner - Phone Helper" val descsmall = "Swift Cleaner - Phone Helper"
val desc = "Clean out junk files to free up space on your phone!"
bigRemoteViews.setTextViewText(R.id.tv_desc, desc) bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall) smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
intentAction = Global.FUNCTION_CLEAN
} }
FUNCTION_BATTERY -> { FUNCTION_BATTERY -> {
...@@ -168,11 +165,9 @@ object NotificationUtils { ...@@ -168,11 +165,9 @@ object NotificationUtils {
val desc = "Watch your battery info!" val desc = "Watch your battery info!"
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox) smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
val descsmall = "Swift Cleaner - Phone Helper" val descsmall = "Swift Cleaner - Phone Helper"
val desc = "Clean out junk files to free up space on your phone!"
bigRemoteViews.setTextViewText(R.id.tv_desc, desc) bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall) smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
intentAction = Global.FUNCTION_CLEAN
} }
FUNCTION_LARGE_FILE -> { FUNCTION_LARGE_FILE -> {
...@@ -182,11 +177,9 @@ object NotificationUtils { ...@@ -182,11 +177,9 @@ object NotificationUtils {
val desc = "Clean out large files to free up space on your phone!" val desc = "Clean out large files to free up space on your phone!"
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox) smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
val descsmall = "Swift Cleaner - Phone Helper" val descsmall = "Swift Cleaner - Phone Helper"
val desc = "Clean out junk files to free up space on your phone!"
bigRemoteViews.setTextViewText(R.id.tv_desc, desc) bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall) smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
intentAction = Global.FUNCTION_CLEAN
} }
FUNCTION_WHATS_APP -> { FUNCTION_WHATS_APP -> {
...@@ -196,11 +189,9 @@ object NotificationUtils { ...@@ -196,11 +189,9 @@ object NotificationUtils {
val desc = "Clean out whatsapp files to free up space on your phone!" val desc = "Clean out whatsapp files to free up space on your phone!"
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox) smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
val descsmall = "Swift Cleaner - Phone Helper" val descsmall = "Swift Cleaner - Phone Helper"
val desc = "Clean out junk files to free up space on your phone!"
bigRemoteViews.setTextViewText(R.id.tv_desc, desc) bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall) smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
intentAction = Global.FUNCTION_CLEAN
} }
FUNCTION_APP_PROCESS -> { FUNCTION_APP_PROCESS -> {
...@@ -210,11 +201,9 @@ object NotificationUtils { ...@@ -210,11 +201,9 @@ object NotificationUtils {
val desc = "Smart App Process." val desc = "Smart App Process."
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox) smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
val descsmall = "Swift Cleaner - Phone Helper" val descsmall = "Swift Cleaner - Phone Helper"
val desc = "Clean out junk files to free up space on your phone!"
bigRemoteViews.setTextViewText(R.id.tv_desc, desc) bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall) smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
intentAction = Global.FUNCTION_CLEAN
} }
FUNCTION_SIMILAR_PHOTOS -> { FUNCTION_SIMILAR_PHOTOS -> {
...@@ -224,11 +213,9 @@ object NotificationUtils { ...@@ -224,11 +213,9 @@ object NotificationUtils {
val desc = "Clean out similar files to free up space on your phone!" val desc = "Clean out similar files to free up space on your phone!"
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox) smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
val descsmall = "Swift Cleaner - Phone Helper" val descsmall = "Swift Cleaner - Phone Helper"
val desc = "Clean out junk files to free up space on your phone!"
bigRemoteViews.setTextViewText(R.id.tv_desc, desc) bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall) smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
intentAction = Global.FUNCTION_CLEAN
} }
FUNCTION_SCREENSHOT -> { FUNCTION_SCREENSHOT -> {
...@@ -238,11 +225,9 @@ object NotificationUtils { ...@@ -238,11 +225,9 @@ object NotificationUtils {
val desc = "Clean out screen files to free up space on your phone!" val desc = "Clean out screen files to free up space on your phone!"
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox) smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
val descsmall = "Swift Cleaner - Phone Helper" val descsmall = "Swift Cleaner - Phone Helper"
val desc = "Clean out junk files to free up space on your phone!"
bigRemoteViews.setTextViewText(R.id.tv_desc, desc) bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc) smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall) smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
intentAction = Global.FUNCTION_CLEAN
} }
else -> { 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