Fix scope recommend of android / system package (#2600)

This commit is contained in:
5ec1cff 2023-07-04 00:04:12 +08:00 committed by GitHub
parent 12df69cb3b
commit 10f180dd09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ public final class ModuleUtil {
try { try {
int scopeListResourceId = app.metaData.getInt("xposedscope"); int scopeListResourceId = app.metaData.getInt("xposedscope");
if (scopeListResourceId != 0) { if (scopeListResourceId != 0) {
scopeList = Arrays.asList(pm.getResourcesForApplication(app).getStringArray(scopeListResourceId)); list = Arrays.asList(pm.getResourcesForApplication(app).getStringArray(scopeListResourceId));
} else { } else {
String scopeListString = app.metaData.getString("xposedscope"); String scopeListString = app.metaData.getString("xposedscope");
if (scopeListString != null) if (scopeListString != null)