Remove featuredMethod
This commit is contained in:
parent
43c4837d07
commit
b56c9fb4bd
|
|
@ -18,7 +18,6 @@ interface IXposedService {
|
||||||
String getFrameworkVersion() = 3;
|
String getFrameworkVersion() = 3;
|
||||||
long getFrameworkVersionCode() = 4;
|
long getFrameworkVersionCode() = 4;
|
||||||
int getFrameworkPrivilege() = 5;
|
int getFrameworkPrivilege() = 5;
|
||||||
Bundle featuredMethod(String name, in Bundle args) = 6;
|
|
||||||
|
|
||||||
// scope utilities
|
// scope utilities
|
||||||
List<String> getScope() = 10;
|
List<String> getScope() = 10;
|
||||||
|
|
|
||||||
|
|
@ -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.
|
* Get the application scope of current module.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue