mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Small fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user