Commit 8b79581b authored by Your Name's avatar Your Name

.

parent 7e330c66
......@@ -130,76 +130,78 @@ object NotificationUtils {
when (actionId) {
FUNCTION_CLEAN -> {
bigRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_cleanjunk)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.h_cleanjunk)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
val desc = "Clean out junk files to free up space on your phone!"
val descsmall = "Swift Cleaner - Phone Helper"
bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
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)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
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)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
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)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
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)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
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)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
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)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
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)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
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)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
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)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
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)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
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)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
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)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
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)
smallRemoteViews.setImageViewResource(R.id.iv_icon, R.mipmap.logox)
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)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
smallRemoteViews.setTextViewText(R.id.tv_desc, descsmall)
intentAction = Global.FUNCTION_CLEAN
}
......
......@@ -2,7 +2,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="66dp"
android:layout_height="50dp"
android:orientation="vertical">
<LinearLayout
......
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