Commit 86fd9d8d by zhangchengbo

fix:关闭通知使用权检测

parent 4d6b7418
......@@ -100,12 +100,12 @@ class MainActivity : SimpleActivity() {
super.onResume()
//是否拥有通知使用权
val result = isNotificationAccessEnabled()
/*val result = isNotificationAccessEnabled()
if (!result) {
val intent = Intent("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS")
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
startActivity(intent)
}
}*/
initMessenger()
......
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