Skip to content

Commit 49252a9

Browse files
authored
Ordered broadcast changes
1 parent 808bb09 commit 49252a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/com/ishacker/exploit/sub_module/MainActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ private fun checkPatch() {
152152
cmdIntent.flags = Intent.FLAG_RECEIVER_FOREGROUND
153153
cmdIntent.flags = Intent.FLAG_INCLUDE_STOPPED_PACKAGES
154154
cmdIntent.putExtra("App", 1)
155+
cmdIntent.putExtra("isTestCmd", true)
156+
cmdIntent.putExtra("isOrderedBroadcast", true)
155157
sendOrderedBroadcast(cmdIntent, null, object : BroadcastReceiver() {
156158
override fun onReceive(context: Context?, intent: Intent?) {
157159
val result = getResultCode()

0 commit comments

Comments
 (0)