Add comment for transform package name (#2599)
This commit is contained in:
parent
df4ce63f41
commit
12df69cb3b
|
|
@ -372,14 +372,13 @@ public final class ModuleUtil {
|
|||
}
|
||||
}
|
||||
if (list != null) {
|
||||
//For historical reasons, legacy modules use the opposite name.
|
||||
//https://github.com/rovo89/XposedBridge/commit/6b49688c929a7768f3113b4c65b429c7a7032afa
|
||||
list.replaceAll(s ->
|
||||
switch (s) {
|
||||
case "android":
|
||||
yield "system";
|
||||
case "system":
|
||||
yield "android";
|
||||
default:
|
||||
yield s;
|
||||
case "android" -> "system";
|
||||
case "system" -> "android";
|
||||
default -> s;
|
||||
}
|
||||
);
|
||||
scopeList = list;
|
||||
|
|
|
|||
Loading…
Reference in New Issue