Commit d7c6a9e5 authored by leichao.gao's avatar leichao.gao

修改推送文案

parent c5877018
......@@ -83,7 +83,7 @@ public class NotificationUtil {
}
int interval = SPUtils.getInstance().getInt("notification_interval", 60);
long lastTime = SPUtils.getInstance().getInt("last_notification_time", 0);
long lastTime = SPUtils.getInstance().getLong("last_notification_time", 0);
long nowTime = System.currentTimeMillis();
long x = nowTime - lastTime;
if (x < (interval * 1000)) {
......@@ -157,7 +157,7 @@ public class NotificationUtil {
btn = "Clean up";
} else if (actionId == ConfigBean.ID_APP_MANAGER) {
icon = R.drawable.appmanager;
desc = "Manage apps that are not frequently used, free up storage space on your phone, and keep it running smoothly!";
desc = "Running out of space on your phone? Manage less frequently used apps to free up space on your phone!";
btn = "View";
} else if (actionId == ConfigBean.ID_BATTERY) {
icon = R.drawable.battery;
......@@ -165,11 +165,11 @@ public class NotificationUtil {
btn = "View";
} else if (actionId == ConfigBean.ID_SCREENSHOT_CLEAN) {
icon = R.drawable.similar;
desc = "Too many screenshots? Free up your phone storage!";
desc = "Too many screenshots? Free up your phone storage!
btn = "View";
} else if (actionId == ConfigBean.ID_WHATSAPP) {
icon = R.drawable.whatsapp_clean;
desc = "Running out of storage space on your phone? Clean up WhatsApp to free up space";
desc = "Running out of storage space on your phone? Clean up WhatsApp junk files to free up space";
btn = "View";
} else {
return;
......
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