rovo89 / XposedBridge

The Java part of the Xposed framework.
3.91k stars 1.1k forks source link

Misleading documentation in IXposedHookCmdInit #78

Closed apsun closed 8 years ago

apsun commented 8 years ago

From the Javadoc for IXposedHookCmdInit:

Starting with Xposed's app_process version 55, this will not be called unless a special file (conf/enable_for_tools) is created in the data directory of the installer.

However, it seems that this is no longer the case, and the configuration file no longer has any effect:

#if !defined(XPOSED_ENABLE_FOR_TOOLS)
    if (!zygote)
        return false;
#endif

I hope the Javadoc can be updated to reflect this change. Thanks.

rovo89 commented 8 years ago

IXposedHookCmdInit is now removed from the API.