Skip to content

Commit

Permalink
更新V1.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mingzhixian committed Apr 10, 2024
1 parent 75e124a commit c355de4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private static void getMethodAndroid14() throws Exception {
displayControlClass = classLoader.loadClass("com.android.server.display.DisplayControl");
Method loadMethod = Runtime.class.getDeclaredMethod("loadLibrary0", Class.class, String.class);
loadMethod.setAccessible(true);
if ((Build.BRAND.toLowerCase() + Build.MANUFACTURER.toLowerCase()).contains("honor")) throw new Exception("Honor device");
// if ((Build.BRAND.toLowerCase() + Build.MANUFACTURER.toLowerCase()).contains("honor")) throw new Exception("Honor device");
loadMethod.invoke(Runtime.getRuntime(), displayControlClass, "android_servers");
} catch (Throwable ignored) {
}
Expand Down

0 comments on commit c355de4

Please sign in to comment.