FBlackBox / BlackBox

BlackBox is a virtual engine, it can clone and run virtual application on Android, users don't have to install APK file to run the application on devices. BlackBox control all virtual applications, so you can do anything you want by using BlackBox.
2.25k stars 626 forks source link

[BUG] 一直跳是否允许通知 #104

Open coisini114 opened 2 years ago

coisini114 commented 2 years ago

会一直跳是否允许通知,点允许和拒绝都不行

meizu 17/安卓11

![Uploading S20413-19450098.png…]()

FBlackBox commented 2 years ago

魅族已知问题,待修复。

User404User commented 2 years ago

魅族已知问题,待修复。

这个我修复了 需要在 INotificationManagerProxy 类新增一个方法

@OverRide protected void onBindMethod() { super.onBindMethod(); if (BuildCompat.isFlyme()){ addMethodHook(new ValueMethodProxy("hasPackageBeenManaged", true)); } }

能帮我解决一下微信无法启动的bug吗 虚拟机安装的子程序里面调用这个无法唤起 微信 Intent v0 = new Intent(); ComponentName v1_1 = new ComponentName("com.tencent.mm", "com.tencent.mm.ui.LauncherUI"); v0.setAction("android.intent.action.MAIN"); v0.addCategory("android.intent.category.LAUNCHER"); v0.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); v0.setComponent(v1_1); this.startActivity(v0);