diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/src/DebugInjector.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/src/DebugInjector.java index e93ad740..bf17730c 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/src/DebugInjector.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/src/DebugInjector.java @@ -182,6 +182,11 @@ public class DebugInjector { mOut.append(".parameter \"p").append(currParam++).append("\"\n"); return false; } + if (line2.startsWith("parameter")) { + mOut.append(line).append("\n"); + currParam++; + return false; + } append(line); if (line2.equals("end method")) {