mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 18:45:58 +01:00
fix for NPE w/ null version numbers
This commit is contained in:
parent
be4ae922de
commit
d4b86475ca
@ -337,8 +337,8 @@ final public class AndrolibResources {
|
|||||||
|
|
||||||
public void setVersionInfo(Map<String, String> map) {
|
public void setVersionInfo(Map<String, String> map) {
|
||||||
if (map != null) {
|
if (map != null) {
|
||||||
mVersionCode = map.get("versionCode").toString();
|
mVersionCode = map.get("versionCode");
|
||||||
mVersionName = map.get("versionName").toString();
|
mVersionName = map.get("versionName");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user