Use default method
This commit is contained in:
parent
b0f7fdca6d
commit
8842af1b79
|
|
@ -18,20 +18,4 @@ public abstract class XposedModule extends XposedContextWrapper implements Xpose
|
|||
public XposedModule(@NonNull XposedContext base, @NonNull ModuleLoadedParam param) {
|
||||
super(base);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void onPackageLoaded(@NonNull PackageLoadedParam param) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void onSystemServerLoaded(@NonNull SystemServerLoadedParam param) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,12 +95,14 @@ public interface XposedModuleInterface {
|
|||
*
|
||||
* @param param Information about the package being loaded
|
||||
*/
|
||||
void onPackageLoaded(@NonNull PackageLoadedParam param);
|
||||
default void onPackageLoaded(@NonNull PackageLoadedParam param) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets notified when the system server is loaded.
|
||||
*
|
||||
* @param param Information about system server
|
||||
*/
|
||||
void onSystemServerLoaded(@NonNull SystemServerLoadedParam param);
|
||||
default void onSystemServerLoaded(@NonNull SystemServerLoadedParam param) {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue