Add onSystemServerLoaded callback

This commit is contained in:
LoveSy 2023-01-11 09:40:09 +08:00
parent ae1c0250b2
commit 383e6812c8
No known key found for this signature in database
2 changed files with 15 additions and 0 deletions

View File

@ -21,4 +21,9 @@ public abstract class XposedModule extends XposedContextWrapper implements Xpose
public void onPackageLoaded(@NonNull PackageLoadedParam param) { public void onPackageLoaded(@NonNull PackageLoadedParam param) {
} }
@Override
public void onSystemServerLoaded(@NonNull SystemServerLoadedParam param) {
}
} }

View File

@ -47,6 +47,14 @@ public interface XposedModuleInterface {
Bundle getExtras(); Bundle getExtras();
} }
interface SystemServerLoadedParam {
@NonNull
ClassLoader getClassLoader();
@Nullable
Bundle getExtras();
}
/** /**
* The interface Package loaded param. * The interface Package loaded param.
*/ */
@ -105,4 +113,6 @@ public interface XposedModuleInterface {
* @param param the param * @param param the param
*/ */
void onPackageLoaded(@NonNull PackageLoadedParam param); void onPackageLoaded(@NonNull PackageLoadedParam param);
void onSystemServerLoaded(@NonNull SystemServerLoadedParam param);
} }