From b004bf4dfe1f9d6dbe83e5dd76b003b0ce2d0104 Mon Sep 17 00:00:00 2001 From: REAndroid Date: Fri, 13 Dec 2024 20:22:48 +0100 Subject: [PATCH] [DEX] fix: Rename methods together with bridge method --- src/main/java/com/reandroid/dex/refactor/RenameMethods.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/reandroid/dex/refactor/RenameMethods.java b/src/main/java/com/reandroid/dex/refactor/RenameMethods.java index 2f1da9c8c..8496b2930 100644 --- a/src/main/java/com/reandroid/dex/refactor/RenameMethods.java +++ b/src/main/java/com/reandroid/dex/refactor/RenameMethods.java @@ -51,7 +51,7 @@ public void add(DexClassRepository classRepository, MethodKey search, MethodKey while (iterator.hasNext()) { MethodKey equivalent = iterator.next(); KeyPair pair = new KeyPair<>(equivalent, - replace.changeDeclaring(equivalent.getDeclaring())); + equivalent.changeName(replace.getName())); if (isLocked(pair)) { lockAll(list); list.clear();