This commit is contained in:
lucky 2022-02-09 05:26:33 +03:00
parent c6083f7ac3
commit fa4a182268
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class NotificationListenerService : NotificationListenerService() {
override fun onListenerConnected() {
super.onListenerConnected()
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) return
migrateNotificationFilter(0, null)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S)
migrateNotificationFilter(0, null)
}
}