Skip to content

Commit 20be623

Browse files
Yuriy ElistratovTopHlop
authored andcommitted
Core: Fix not opened debug panel bottom sheet from notification on newer API
1 parent a93c258 commit 20be623

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

panel-core/src/main/kotlin/com/redmadrobot/debug/core/util/DebugPanelNotification.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ internal class DebugPanelNotification(private val context: Context) {
8282
}
8383

8484
private fun getPanelPendingIntent(context: Context): PendingIntent? {
85-
val openPanelIntent = Intent(DebugPanelBroadcastReceiver.ACTION_OPEN_DEBUG_PANEL)
85+
val openPanelIntent = Intent(DebugPanelBroadcastReceiver.ACTION_OPEN_DEBUG_PANEL).apply {
86+
setPackage(context.packageName)
87+
}
8688
return PendingIntent.getBroadcast(
8789
context,
8890
0,

0 commit comments

Comments
 (0)