From 5168ffd57e23975cfecc477633705771b271ed52 Mon Sep 17 00:00:00 2001 From: RikkaW Date: Fri, 14 Oct 2022 14:51:54 +0800 Subject: [PATCH] Fix #47 --- module/src/main/java/rikka/sui/util/InstrumentationUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/src/main/java/rikka/sui/util/InstrumentationUtil.java b/module/src/main/java/rikka/sui/util/InstrumentationUtil.java index aa82614..314fb74 100644 --- a/module/src/main/java/rikka/sui/util/InstrumentationUtil.java +++ b/module/src/main/java/rikka/sui/util/InstrumentationUtil.java @@ -57,7 +57,7 @@ public static void callActivityOnNewIntent(Instrumentation instrumentation, Acti } if (callActivityOnNewIntentMethod != null) { try { - callActivityOnNewIntentMethod.invoke(instrumentation, intent, activity, intent); + callActivityOnNewIntentMethod.invoke(instrumentation, activity, intent); } catch (IllegalAccessException | InvocationTargetException e) { e.printStackTrace(); }