From c9b11a29c1a3903a8849951e1ef24cb14718b94b Mon Sep 17 00:00:00 2001 From: tornaco Date: Sun, 13 Feb 2022 20:53:54 +0800 Subject: [PATCH] [service] add logs --- .../accessibility/AccessibilityManagerServiceHooks.java | 6 +++--- android/internal/Thanox-Internal | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/android_framework/patch-magisk/patch-framework/src/main/java/github/tornaco/thanox/android/server/patch/framework/hooks/accessibility/AccessibilityManagerServiceHooks.java b/android/android_framework/patch-magisk/patch-framework/src/main/java/github/tornaco/thanox/android/server/patch/framework/hooks/accessibility/AccessibilityManagerServiceHooks.java index d94c3780f..9dda2bab2 100644 --- a/android/android_framework/patch-magisk/patch-framework/src/main/java/github/tornaco/thanox/android/server/patch/framework/hooks/accessibility/AccessibilityManagerServiceHooks.java +++ b/android/android_framework/patch-magisk/patch-framework/src/main/java/github/tornaco/thanox/android/server/patch/framework/hooks/accessibility/AccessibilityManagerServiceHooks.java @@ -19,13 +19,13 @@ public static void install(ClassLoader classLoader) { } private static void installContextForAccService(ClassLoader classLoader) { - XLog.i("AccessibilityManagerServiceHooks installContextForSyncManager"); + XLog.w("AccessibilityManagerServiceHooks installContextForSyncManager"); new LocalServices(classLoader).getService(AccessibilityManagerServiceHelper .INSTANCE.accessibilityManagerServiceClass(classLoader)).ifPresent(service -> { - XLog.i("AccessibilityManagerServiceHooks service: %s", service); + XLog.w("AccessibilityManagerServiceHooks service: %s", service); // Update mContext. Context context = (Context) XposedHelpers.getObjectField(service, "mContext"); - XLog.i("AccessibilityManagerServiceHooks service.context: %s", context); + XLog.w("AccessibilityManagerServiceHooks service.context: %s", context); XposedHelpers.setObjectField(service, "mContext", new ContextProxy(context, "AccessibilityManagerService")); }); diff --git a/android/internal/Thanox-Internal b/android/internal/Thanox-Internal index 2977f326b..33df1bd64 160000 --- a/android/internal/Thanox-Internal +++ b/android/internal/Thanox-Internal @@ -1 +1 @@ -Subproject commit 2977f326b94e4c6b8a080073a1bb852de56e8167 +Subproject commit 33df1bd645ec027df011b4d096443341f8fbafa4