Skip to content

Commit 9422f18

Browse files
lolketchosipxd
authored andcommitted
bugfix: fix register receiver context
1 parent 0649ab8 commit 9422f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ internal class ApplicationLifecycleHandler(
4747
)
4848

4949
ContextCompat.registerReceiver(
50-
activity.applicationContext,
50+
activity,
5151
debugPanelBroadcastReceiver,
5252
filter,
5353
ContextCompat.RECEIVER_NOT_EXPORTED

0 commit comments

Comments
 (0)