Remove featuredMethod

This commit is contained in:
Nullptr 2023-07-20 22:35:29 +08:00
parent 6ddbb96043
commit ffbce13602
No known key found for this signature in database
2 changed files with 0 additions and 22 deletions

View File

@ -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}
*/

View File

@ -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.
*