Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
修改核心破解日志输出
Browse files Browse the repository at this point in the history
  • Loading branch information
lingqiqi5211 authored Dec 1, 2023
1 parent 5f6f682 commit 4e44fd6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
import de.robv.android.xposed.callbacks.XC_LoadPackage;

public class SystemFrameworkForCorePatch implements IXposedHookLoadPackage, IXposedHookZygoteInit {
public static final String TAG = "][Cemiuiler][CorePatch]";
public static final String TAG = "][HyperCeiler][CorePatch]";

@Override
public void handleLoadPackage(XC_LoadPackage.LoadPackageParam lpparam) throws Throwable {
if (("android".equals(lpparam.packageName)) && (lpparam.processName.equals("android"))) {
XposedLogUtils.logI("CorePatch", "android", "Current sdk version " + Build.VERSION.SDK_INT);
switch (Build.VERSION.SDK_INT) {
case Build.VERSION_CODES.UPSIDE_DOWN_CAKE -> // 34
new CorePatchForU().handleLoadPackage(lpparam);
Expand All @@ -38,7 +37,6 @@ public void handleLoadPackage(XC_LoadPackage.LoadPackageParam lpparam) throws Th
@Override
public void initZygote(StartupParam startupParam) {
if (startupParam.startsSystemServer) {
XposedLogUtils.logI("CorePatch", "android", "Current sdk version " + Build.VERSION.SDK_INT);
switch (Build.VERSION.SDK_INT) {
case Build.VERSION_CODES.UPSIDE_DOWN_CAKE -> // 34
new CorePatchForU().initZygote(startupParam);
Expand Down

0 comments on commit 4e44fd6

Please sign in to comment.