Commit d8786640 by zhangchengbo

fix:添加黑名单列表日志

parent e9edb4cf
......@@ -55,6 +55,7 @@ class SmsReceiver : BroadcastReceiver() {
val subscriptionId = intent.getIntExtra("subscription", -1)
val blockedNumberList = context.getBlockedNumbers().map { it.number }
Log.d(TAG, "onReceive: 黑名单列表 = ${Gson().toJson(blockedNumberList)}")
if(blockedNumberList.contains(address)){
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