Commit cb222494 authored by wanglei's avatar wanglei

[恢复]恢复弹通知

parent 18b1655b
......@@ -14,13 +14,13 @@ class PopupConfigBean(
var popupHoverCount: Int = 5,
var popupHoverDelay: Int = 5000,
var timerS: Boolean = false,//定时器触发推送
var timerS: Boolean = true,//定时器触发推送
var timerDelay: Int = 60,//定时器执行延迟 秒
var timerInterval: Int = 7,//定时器执行间隔 分钟
val screenS: Boolean = false,//解锁触发推送
val alarmS: Boolean = false,//是否闹钟触发推送
val workS: Boolean = false,//workManager触发推送
val screenS: Boolean = true,//解锁触发推送
val alarmS: Boolean = true,//是否闹钟触发推送
val workS: Boolean = true,//workManager触发推送
val batteryS: Boolean = true,//电池触发通知开关
var batteryInterval: Int = 180,//电池推送间隔 秒(推送间隔一般大于总间隔才有意义)
......
......@@ -48,7 +48,8 @@ object NotificationUiUtil {
intent.putExtra("notificationId", sendBean.notificationId)
sendBean.intent = intent
val testNotificationId = if (BuildConfig.DEBUG) "${sendBean.notificationId}_${sendBean.actionId}_" else ""
// val testNotificationId = if (BuildConfig.DEBUG) "${sendBean.notificationId}_${sendBean.actionId}_" else ""
val testNotificationId = ""
var debugAction: (remoteViews: RemoteViews) -> Unit = { remoteViews ->
if (BuildConfig.DEBUG) {
remoteViews.setTextViewText(R.id.tv_btn, sendBean.where)
......
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