Java Code Examples for de.robv.android.xposed.XposedHelpers#setAdditionalStaticField()

The following examples show how to use de.robv.android.xposed.XposedHelpers#setAdditionalStaticField() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: XposedHelpersWraper.java    From MIUIAnesthetist with MIT License 5 votes vote down vote up
public static Object setAdditionalStaticField(Object obj, String key, Object value) {
    try {
        return XposedHelpers.setAdditionalStaticField(obj, key, value);
    } catch (Throwable t) {
        log(t);
    }
    return null;
}
 
Example 2
Source File: XposedHelpersWraper.java    From MIUIAnesthetist with MIT License 5 votes vote down vote up
public static Object setAdditionalStaticField(Class<?> clazz, String key, Object value) {
    try {
        return XposedHelpers.setAdditionalStaticField(clazz, key, value);
    } catch (Throwable t) {
        log(t);
    }
    return null;
}