We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 624a9b4 commit af608b3Copy full SHA for af608b3
app/src/main/java/io/github/domi04151309/alwayson/services/NotificationService.kt
@@ -53,6 +53,14 @@ class NotificationService : NotificationListenerService() {
53
54
override fun onNotificationRemoved(notification: StatusBarNotification) {
55
updateValues()
56
+
57
+ if (
58
+ CombinedServiceReceiver.isAlwaysOnRunning &&
59
+ Rules.isAmbientMode(this) &&
60
+ count < 1
61
+ ) {
62
+ AlwaysOn.finish()
63
+ }
64
}
65
66
private fun updateValues() {
0 commit comments