Skip to content

Commit

Permalink
1、增加大量try/catch保证某功能失效时不会影响其他功能
Browse files Browse the repository at this point in the history
2、新增Hook失败推送
3、优化黑胶hook逻辑,不再所有人都显示黑胶
  • Loading branch information
nining377 committed Oct 26, 2021
1 parent e259d6f commit bdb1bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/raincat/dolby_beta/MainHook.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public class MainHook implements IXposedHookLoadPackage, IXposedHookZygoteInit {
@Override
public void handleLoadPackage(final LoadPackageParam lpparam) throws Exception {
if (!TextUtils.isEmpty(lpparam.packageName) && lpparam.packageName.equals("com.netease.cloudmusic")) {
HotXposed.hook(HookerDispatcher.class, lpparam);
// new Hook(lpparam);
// HotXposed.hook(HookerDispatcher.class, lpparam);
new Hook(lpparam);
}
}

Expand Down

0 comments on commit bdb1bdf

Please sign in to comment.