Default installed apk versionName to "null" (closes #182)
This commit is contained in:
parent
a6128a3e47
commit
458f163f7e
@ -776,6 +776,8 @@ public class DB {
|
||||
if (getinstalledinfo && systemApks.containsKey(app.id)) {
|
||||
PackageInfo sysapk = systemApks.get(app.id);
|
||||
app.installedVersion = sysapk.versionName;
|
||||
if (app.installedVersion == null)
|
||||
app.installedVersion = "null";
|
||||
app.installedVerCode = sysapk.versionCode;
|
||||
app.userInstalled = ((sysapk.applicationInfo.flags
|
||||
& ApplicationInfo.FLAG_SYSTEM) != 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user