Skip to content

Commit

Permalink
fix: GalleryBgHook on 8.9.76
Browse files Browse the repository at this point in the history
  • Loading branch information
duzhaokun123 committed Aug 26, 2023
1 parent 59f2b2a commit e6ee4ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/cc/ioctl/hook/chat/GalleryBgHook.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ public boolean initOnce() throws Exception {
Object mDragLayout = Reflex.getInstanceObject(param.thisObject, "mDragLayout", null);
Reflex.setInstanceObject(mDragLayout, "mWindowBgDrawable", new ColorDrawable(Color.TRANSPARENT));
});
Method m2 = kRFWLayerAnimPart.getDeclaredMethod("updateBackgroundAlpha", int.class);
HookUtils.hookBeforeIfEnabled(this, m2, param -> {
param.args[0] = 0;
});
}
// for QQ >= 8.3.5
Class<?> kBrowserBaseScene = DexKit.loadClassFromCache(CGalleryBaseScene.INSTANCE);
Expand Down

0 comments on commit e6ee4ee

Please sign in to comment.