pull/213/head
M66B 11 months ago
parent 20e5acdc95
commit edc38f04d1

@ -1587,6 +1587,7 @@ public class Helper {
try {
Class<?> c = Class.forName("android.os.SystemProperties");
Method get = c.getMethod("get", String.class);
get.setAccessible(true);
String miui = (String) get.invoke(c, "ro.miui.ui.version.code");
return (TextUtils.isEmpty(miui) ? null : miui);
} catch (Throwable ex) {

Loading…
Cancel
Save