fix: 后台限制导致一键签到闪退
This commit is contained in:
parent
39a329a36d
commit
6f05be2eca
|
|
@ -7,10 +7,12 @@ import com.huanchengfly.tieba.post.utils.TiebaUtil
|
|||
|
||||
class AutoSignAlarm : BroadcastReceiver() {
|
||||
override fun onReceive(context: Context, intent: Intent) {
|
||||
runCatching {
|
||||
TiebaUtil.startSign(context)
|
||||
}
|
||||
}
|
||||
|
||||
companion object {
|
||||
val TAG: String = AutoSignAlarm::class.java.simpleName
|
||||
val TAG: String = "AutoSignAlarm"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue