diff --git a/interface/src/main/aidl/io/github/libxposed/service/IXposedService.aidl b/interface/src/main/aidl/io/github/libxposed/service/IXposedService.aidl index eff604f..178c27f 100644 --- a/interface/src/main/aidl/io/github/libxposed/service/IXposedService.aidl +++ b/interface/src/main/aidl/io/github/libxposed/service/IXposedService.aidl @@ -18,7 +18,6 @@ interface IXposedService { String getFrameworkVersion() = 3; long getFrameworkVersionCode() = 4; int getFrameworkPrivilege() = 5; - Bundle featuredMethod(String name, in Bundle args) = 6; // scope utilities List getScope() = 10; diff --git a/service/src/main/java/io/github/libxposed/service/XposedService.java b/service/src/main/java/io/github/libxposed/service/XposedService.java index 1ec4ad4..9453f10 100644 --- a/service/src/main/java/io/github/libxposed/service/XposedService.java +++ b/service/src/main/java/io/github/libxposed/service/XposedService.java @@ -218,27 +218,6 @@ public final class XposedService { } } - /** - * Additional methods provided by specific Xposed framework. - * - * @param name Featured method name - * @param args Featured method arguments - * @return Featured method result - * @throws UnsupportedOperationException If the framework does not provide a method with given name - * @throws ServiceException If the service is dead or error occurred - * @deprecated Normally, modules should never rely on implementation details about the Xposed framework, - * but if really necessary, this method can be used to acquire such information - */ - @Deprecated - @Nullable - public Bundle featuredMethod(@NonNull String name, @Nullable Bundle args) { - try { - return mService.featuredMethod(name, args); - } catch (RemoteException e) { - throw new ServiceException(e); - } - } - /** * Get the application scope of current module. *