android: Update ProxyJni.java
@@ -763,7 +763,7 @@ class ProxyJni extends JniFunction {
try {
Class<?> clazz = classLoader.loadClass(dvmClass.getName());
ProxyField field = ProxyUtils.findField(clazz, dvmField, visitor);
- field.setObject(null, value);
+ field.setObject(null, value == null ? null : value.getValue());
return;
} catch (ClassNotFoundException | NoSuchFieldException | IllegalAccessException e) {
log.warn("setStaticObjectField", e);
