Calculate whether an app is an APK or not when updating repos.

This improves performance when we need to decide whether or not apps are
installed or not while scrolling through large lists.

Fixes #1143.

Also change Jackson tests to properly ignore App#isApk.
This commit is contained in:
Peter Serwylo
2017-09-12 16:48:14 +02:00
committed by Hans-Christoph Steiner
parent ac1dce24d2
commit 595f72d5b2
5 changed files with 52 additions and 4 deletions

View File

@@ -304,6 +304,7 @@ public class IndexV1UpdaterTest extends FDroidProviderTest {
"installedSig",
"installedVersionCode",
"installedVersionName",
"isApk",
"preferredSigner",
"prefs",
"TAG",
@@ -335,6 +336,7 @@ public class IndexV1UpdaterTest extends FDroidProviderTest {
"hash",
"hashType",
"incompatibleReasons",
"isApk",
"maxSdkVersion",
"minSdkVersion",
"nativecode",