Skip to content

Commit

Permalink
Fix: Support wandoujia plugin framework.
Browse files Browse the repository at this point in the history
  • Loading branch information
asLody committed Oct 28, 2017
1 parent 4267dfb commit b8f09d2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import android.os.Bundle;
import android.text.TextUtils;

import com.lody.virtual.client.VClientImpl;
import com.lody.virtual.client.core.InvocationStubManager;
import com.lody.virtual.client.env.VirtualRuntime;
import com.lody.virtual.client.hook.proxies.am.HCallbackStub;
Expand Down Expand Up @@ -32,6 +33,7 @@ protected void onCreate(Bundle savedInstanceState) {
// Retry to inject the HCallback to instead of the exist one.
InvocationStubManager.getInstance().checkEnv(HCallbackStub.class);
Intent intent = r.intent;
intent.setExtrasClassLoader(VClientImpl.get().getCurrentApplication().getClassLoader());
startActivity(intent);
} else {
// Start the target Activity in other process.
Expand Down

0 comments on commit b8f09d2

Please sign in to comment.