Update to 8.6.0

This commit is contained in:
xaxtix 2022-03-11 19:49:54 +03:00
parent 3708e9847a
commit d30f796d8c
2625 changed files with 166215 additions and 59265 deletions

View file

@ -0,0 +1,22 @@
package org.telegram.messenger;
import android.os.Build;
public class OneUIUtilities {
private static Boolean isOneUI;
@SuppressWarnings("JavaReflectionMemberAccess")
public static boolean isOneUI() {
if (isOneUI != null) {
return isOneUI;
}
try {
Build.VERSION.class.getDeclaredField("SEM_PLATFORM_INT");
isOneUI = true;
} catch (NoSuchFieldException e) {
isOneUI = false;
}
return isOneUI;
}
}