Commit edd45950 authored by wanglei's avatar wanglei

...

parent 4def1adf
...@@ -2,10 +2,12 @@ package com.base.scanqr.fcm.notification ...@@ -2,10 +2,12 @@ package com.base.scanqr.fcm.notification
import android.os.Handler import android.os.Handler
import android.os.HandlerThread import android.os.HandlerThread
import com.base.scanqr.BuildConfig
import com.base.scanqr.MyApplication import com.base.scanqr.MyApplication
import com.base.scanqr.bean.NotificationSendBean import com.base.scanqr.bean.NotificationSendBean
import com.base.scanqr.bean.config.PopupConfigBean.Companion.popupConfigBean import com.base.scanqr.bean.config.PopupConfigBean.Companion.popupConfigBean
import com.base.scanqr.utils.LogEx import com.base.scanqr.utils.LogEx
import com.base.scanqr.utils.ToastUtils.toast
/** /**
* 悬停通知 * 悬停通知
...@@ -50,6 +52,9 @@ object NotificationHoverUtils { ...@@ -50,6 +52,9 @@ object NotificationHoverUtils {
} else { } else {
LogEx.logDebug(TAG, "Hover time=$time") LogEx.logDebug(TAG, "Hover time=$time")
NotificationUiUtil.setNotification(sendBean) NotificationUiUtil.setNotification(sendBean)
if (BuildConfig.DEBUG){
MyApplication.appContext.toast("Hover")
}
} }
}, time) }, time)
} }
......
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