fix for NPE w/ null version numbers

This commit is contained in:
Connor Tumbleson 2013-09-12 17:46:14 -05:00
parent be4ae922de
commit d4b86475ca

View File

@ -337,8 +337,8 @@ final public class AndrolibResources {
public void setVersionInfo(Map<String, String> map) {
if (map != null) {
mVersionCode = map.get("versionCode").toString();
mVersionName = map.get("versionName").toString();
mVersionCode = map.get("versionCode");
mVersionName = map.get("versionName");
}
}