mardi 11 août 2015

Module not working when implementing IXposedHookInitPackageResources



Hi,
I have a strange problem - when I implement IXposedHookInitPackageResources in my hook the module stops working and non of its method is called. This is even when I have an empty implementation like this:


Code:


public class MyHook implements IXposedHookLoadPackage, IXposedHookZygoteInit, IXposedHookInitPackageResources
{
    private static String MODULE_PATH = null;

    public void initZygote(StartupParam startupParam) throws Throwable
    {
        MODULE_PATH = startupParam.modulePath;
    }

    @Override
    public void handleInitPackageResources(XC_InitPackageResources.InitPackageResourcesParam resParam) throws Throwable
    {
        //No code here, empty implementation
    }
}


When I remove the IXposedHookInitPackageResources implementation module starts working again.
What am I missing?



Aucun commentaire:

Enregistrer un commentaire