xposed.dummy.XResourcesSuperClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of androidstub Show documentation
Show all versions of androidstub Show documentation
provide android hidden api definition ,helper for android super framework development
package xposed.dummy;
import android.content.res.Resources;
/**
* 这是为xposed提供的功能
* This class is used as super class of XResources.
*
* This implementation isn't included in the .dex file. Instead, it's created on the device.
* Usually, it will extend Resources, but some ROMs use their own Resources subclass.
* In that case, XResourcesSuperClass will extend the ROM's subclass in an attempt to increase
* compatibility.
*/
public class XResourcesSuperClass extends Resources {
/**
* Dummy, will never be called (objects are transferred to this class only).
*/
protected XResourcesSuperClass() {
super(null, null, null);
throw new UnsupportedOperationException();
}
protected XResourcesSuperClass(ClassLoader classLoader) {
this();
throw new UnsupportedOperationException();
}
}