Only send binder to non-legacy module
This commit is contained in:
parent
3209433766
commit
403791a25e
|
|
@ -66,7 +66,7 @@ public class LSPModuleService extends IXposedService.Stub {
|
||||||
if (!uidSet.contains(uid)) {
|
if (!uidSet.contains(uid)) {
|
||||||
uidSet.add(uid);
|
uidSet.add(uid);
|
||||||
var module = ConfigManager.getInstance().getModule(uid);
|
var module = ConfigManager.getInstance().getModule(uid);
|
||||||
if (module != null) {
|
if (module != null && module.file != null && !module.file.legacy) {
|
||||||
var service = serviceMap.computeIfAbsent(module, LSPModuleService::new);
|
var service = serviceMap.computeIfAbsent(module, LSPModuleService::new);
|
||||||
service.sendBinder(uid);
|
service.sendBinder(uid);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue