Also check for null versionName when refreshing apps

This commit is contained in:
Daniel Martí 2013-10-08 15:44:48 +02:00
parent eabf9cd654
commit 0624189905

View File

@ -898,6 +898,8 @@ public class DB {
if (installed != null) {
app.installedVersion = installed.versionName;
if (app.installedVersion == null)
app.installedVersion = "null";
app.installedVerCode = installed.versionCode;
} else {
app.installedVersion = null;