@@ -71,6 +71,7 @@ public class ExposedBridge {
7171 ? "/data/user_de/0/de.robv.android.xposed.installer/" : BASE_DIR_LEGACY ;
7272
7373 private static final String WECHAT = decodeFromBase64 ("Y29tLnRlbmNlbnQubW0=" );
74+ private static final String QQ = decodeFromBase64 ("Y29tLnRlbmNlbnQubW9iaWxlcXE=" );
7475
7576 private static final int FAKE_XPOSED_VERSION = 91 ;
7677 private static final String VERSION_KEY = "version" ;
@@ -304,14 +305,22 @@ private static boolean ignoreHooks(Member member) {
304305 return false ;
305306 }
306307
308+ String name = member .getDeclaringClass ().getName ();
309+ if (QQ .equals (currentPackage )) {
310+ // TODO, we just ignore this hook to avoid crash, fix it when you figure out it. (getManager)
311+ if (name .contains ("QQAppInterface" )) {
312+ // Log.i("mylog", "ignore hook for: " + member);
313+ return true ;
314+ }
315+ }
316+
307317 if (!yieldMode ) {
308318 return false ;
309319 }
310320
311- String name = member .getDeclaringClass ().getName ();
312321 if (WECHAT .equals (currentPackage )) {
313322 if (name .contains ("wcdb" )) {
314- Log .i ("mylog" , "ignore hook for: " + name );
323+ // Log.i("mylog", "ignore hook for: " + member );
315324 return true ;
316325 }
317326 }
@@ -348,7 +357,7 @@ private static void initForXposedModule(Context context, ApplicationInfo applica
348357 inputStream = context .getAssets ().open ("xposed_init" );
349358 System .setProperty ("epic.force" , "true" );
350359 } catch (IOException e ) {
351- log ("initForXposedModule, ignore :" + applicationInfo . packageName );
360+ log (applicationInfo . packageName + " is not a Xposed module" );
352361 } finally {
353362 closeSliently (inputStream );
354363 }
0 commit comments