Dont fallback to HighestResSpec Package if only 1 main package

- fixes #1220
This commit is contained in:
Connor Tumbleson 2016-04-11 07:05:00 -04:00
parent 607af3c2ee
commit 639ac84edb

View File

@ -104,6 +104,9 @@ public class ResTable {
if (pkg != null) {
return pkg;
} else {
if (mMainPackages.size() == 1) {
return mMainPackages.iterator().next();
}
return getHighestSpecPackage();
}
}