Remove featuredMethod
This commit is contained in:
parent
6ddbb96043
commit
ffbce13602
|
|
@ -82,15 +82,6 @@ public class XposedContextWrapper extends ContextWrapper implements XposedInterf
|
|||
return getBaseContext().getFrameworkPrivilege();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Nullable
|
||||
@Override
|
||||
public final Object featuredMethod(String name, Object... args) {
|
||||
return getBaseContext().featuredMethod(name, args);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ import android.content.SharedPreferences;
|
|||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.res.Resources;
|
||||
|
||||
import androidx.annotation.Discouraged;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
|
|
@ -329,18 +328,6 @@ public interface XposedInterface {
|
|||
*/
|
||||
int getFrameworkPrivilege();
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
@Discouraged(message = "Normally, modules should never rely on specific implementation of the Xposed framework. But if really necessary, this method can be used to acquire such information.")
|
||||
@Nullable
|
||||
Object featuredMethod(String name, Object... args);
|
||||
|
||||
/**
|
||||
* Hook before method unhooker.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue