Skip to content

Commit d310920

Browse files
author
维术
committed
[Exposed-UI]: Do not throw exception when call navigateTo.
1 parent ad60988 commit d310920

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

VirtualApp/lib/src/main/java/com/lody/virtual/client/hook/proxies/am/ActivityManagerStub.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import com.lody.virtual.client.ipc.VActivityManager;
2020
import com.lody.virtual.helper.compat.BuildCompat;
2121
import com.lody.virtual.helper.compat.ParceledListSliceCompat;
22+
import com.lody.virtual.helper.utils.VLog;
2223
import com.lody.virtual.remote.AppTaskInfo;
2324

2425
import java.lang.reflect.Method;
@@ -70,7 +71,9 @@ protected void onBindMethods() {
7071
addMethodProxy(new StaticMethodProxy("navigateUpTo") {
7172
@Override
7273
public Object call(Object who, Method method, Object... args) throws Throwable {
73-
throw new RuntimeException("Call navigateUpTo!!!!");
74+
// throw new RuntimeException("Call navigateUpTo!!!!");
75+
VLog.e("VA", "Call navigateUpTo!!!!");
76+
return method.invoke(who, args);
7477
}
7578
});
7679
addMethodProxy(new ReplaceLastUidMethodProxy("checkPermissionWithToken"));

0 commit comments

Comments
 (0)