Commit 98918230 authored by wanglei's avatar wanglei

...

parent 5cc0312c
package com.base.browserwhite.fcm package com.base.browserwhite.fcm
import android.content.Context import android.content.Context
import android.os.Handler
import android.os.HandlerThread
import android.util.Log import android.util.Log
import com.base.browserwhite.MyApplication import com.base.browserwhite.MyApplication
import com.base.browserwhite.bean.ConstObject
import com.base.browserwhite.bean.ConstObject.ID_APP_PROCESS
import com.base.browserwhite.bean.ConstObject.ID_CLEAN_JUNK_MEMORY
import com.base.browserwhite.bean.ConstObject.ID_JUNK_CLEANER
import com.base.browserwhite.bean.ConstObject.ID_NEWS
import com.base.browserwhite.bean.ConstObject.ID_WEATHER
import com.base.browserwhite.help.EventUtils import com.base.browserwhite.help.EventUtils
import com.base.browserwhite.utils.AppPreferences
import com.base.browserwhite.utils.LogEx
import com.base.browserwhite.utils.TimeUtils.formatTimeH
import com.base.browserwhite.utils.TimeUtils.isTimeBetweenEightAndTenPM
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Calendar import java.util.Calendar
import java.util.Locale import java.util.Locale
...@@ -35,7 +23,7 @@ object NotificationPushUtil { ...@@ -35,7 +23,7 @@ object NotificationPushUtil {
* @param where [PUSH_WHERE_TIMBER] * @param where [PUSH_WHERE_TIMBER]
*/ */
fun Context.sendNotificationWhere(setActionId: Int?, where: String) { fun Context.sendNotificationWhere(setActionId: Int?, where: String) {
Log.d("glc","sendNotificationWhere") Log.d("glc", "sendNotificationWhere where=$where")
val actionId: Int = setActionId ?: NotificationHelp.getNotificationId() val actionId: Int = setActionId ?: NotificationHelp.getNotificationId()
if (MyApplication.PAUSED_VALUE == 1) { if (MyApplication.PAUSED_VALUE == 1) {
return 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