Add onSystemServerLoaded callback
This commit is contained in:
parent
ae1c0250b2
commit
383e6812c8
|
|
@ -21,4 +21,9 @@ public abstract class XposedModule extends XposedContextWrapper implements Xpose
|
|||
public void onPackageLoaded(@NonNull PackageLoadedParam param) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSystemServerLoaded(@NonNull SystemServerLoadedParam param) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,14 @@ public interface XposedModuleInterface {
|
|||
Bundle getExtras();
|
||||
}
|
||||
|
||||
interface SystemServerLoadedParam {
|
||||
@NonNull
|
||||
ClassLoader getClassLoader();
|
||||
|
||||
@Nullable
|
||||
Bundle getExtras();
|
||||
}
|
||||
|
||||
/**
|
||||
* The interface Package loaded param.
|
||||
*/
|
||||
|
|
@ -105,4 +113,6 @@ public interface XposedModuleInterface {
|
|||
* @param param the param
|
||||
*/
|
||||
void onPackageLoaded(@NonNull PackageLoadedParam param);
|
||||
|
||||
void onSystemServerLoaded(@NonNull SystemServerLoadedParam param);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue