Skip to content

Commit 81ce9d3

Browse files
committed
#719 close notification drawer after is has been pressed
1 parent 2078469 commit 81ce9d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/main/java/io/github/sds100/keymapper/system/notifications/NotificationClickReceiver.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,9 @@ class NotificationClickReceiver : BroadcastReceiver() {
1414
intent ?: return
1515

1616
ServiceLocator.notificationAdapter(context).onReceiveNotificationActionIntent(intent)
17+
18+
Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS).apply {
19+
context.sendBroadcast(this)
20+
}
1721
}
1822
}

0 commit comments

Comments
 (0)