public interface IXposedHookZygoteInit
Implement this interface in your module's main class in order to be notified when Android is
starting up. In IXposedHookZygoteInit
, you can modify objects and place hooks that should
be applied for every app. Only the Android framework/system classes are available at that point
in time. Use null
as class loader for XposedHelpers.findAndHookMethod(String, ClassLoader, String, Object...)
and its variants.
If you want to hook one/multiple specific apps, use IXposedHookLoadPackage
instead.
Modifier and Type | Interface and Description |
---|---|
static class |
IXposedHookZygoteInit.StartupParam
|
Modifier and Type | Method and Description |
---|---|
void |
initZygote(IXposedHookZygoteInit.StartupParam startupParam)
Called very early during startup of Zygote.
|
void initZygote(IXposedHookZygoteInit.StartupParam startupParam) throws java.lang.Throwable
startupParam
- Details about the module itself and the started process.java.lang.Throwable
- everything is caught, but will prevent further initialization of the module.