mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-06 10:05:54 +01:00
AndrolibResources.getFrameworkApk(): fixed small bug, occuring when frameTag is null.
This commit is contained in:
parent
c3fc711ee2
commit
51a429ebd9
@ -304,10 +304,13 @@ final public class AndrolibResources {
|
||||
private File getFrameworkApk(int id, String frameTag)
|
||||
throws AndrolibException {
|
||||
File dir = getFrameworkDir();
|
||||
File apk;
|
||||
|
||||
File apk = new File(dir, String.valueOf(id) + '-' + frameTag + ".apk");
|
||||
if (apk.exists()) {
|
||||
return apk;
|
||||
if (frameTag != null) {
|
||||
apk = new File(dir, String.valueOf(id) + '-' + frameTag + ".apk");
|
||||
if (apk.exists()) {
|
||||
return apk;
|
||||
}
|
||||
}
|
||||
|
||||
apk = new File(dir, String.valueOf(id) + ".apk");
|
||||
|
Loading…
Reference in New Issue
Block a user