mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 05:47:46 +01:00
Dont fallback to HighestResSpec Package if only 1 main package
- fixes #1220
This commit is contained in:
parent
607af3c2ee
commit
639ac84edb
@ -104,6 +104,9 @@ public class ResTable {
|
||||
if (pkg != null) {
|
||||
return pkg;
|
||||
} else {
|
||||
if (mMainPackages.size() == 1) {
|
||||
return mMainPackages.iterator().next();
|
||||
}
|
||||
return getHighestSpecPackage();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user