Skip to content

Commit 041017e

Browse files
committed
fix bug DexFactory
1 parent e7db2e2 commit 041017e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/src/com/tns/DexFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,12 @@ private String getClassToProxyName(String className) throws InvalidClassExceptio
194194
{
195195
String classToProxy = className;
196196

197-
if (className.startsWith("com.tns.gen"))
197+
if (className.startsWith("com.tns.gen."))
198198
{
199199
classToProxy = className.substring(12);
200200
}
201201

202-
if (classToProxy.startsWith("com.tns.gen"))
202+
if (classToProxy.startsWith("com.tns.gen."))
203203
{
204204
throw new InvalidClassException("Can't generate proxy of proxy");
205205
}

0 commit comments

Comments
 (0)