Loading app/src/main/java/foundation/e/apps/application/model/IntegrityVerificationTask.kt +2 −3 Original line number Diff line number Diff line Loading @@ -159,9 +159,8 @@ class IntegrityVerificationTask( } } try { if (packageName == JSONObject(jsonResponse).get(packageName)) { return true } return JSONObject(jsonResponse).has(packageName); } catch (e: Exception) { if (e is JSONException) { Log.d(TAG, "$packageName is not a system application") Loading app/src/main/java/foundation/e/apps/utils/Constants.kt +2 −1 Original line number Diff line number Diff line Loading @@ -71,5 +71,6 @@ object Constants { // Integrity Verification const val F_DROID_PACKAGES_URL = "https://f-droid.org/en/packages/" const val SYSTEM_PACKAGES_JSON_FILE_URL = "https://gitlab.e.foundation/e/apps/apps/-/raw/e169c1905114d97af867b051f96c38166f4782e2/app/src/main/assets/systemApp.json" //const val SYSTEM_PACKAGES_JSON_FILE_URL = "https://gitlab.e.foundation/e/apps/apps/-/raw/e169c1905114d97af867b051f96c38166f4782e2/app/src/main/assets/systemApp.json" const val SYSTEM_PACKAGES_JSON_FILE_URL = "https://gitlab.e.foundation/e/apps/apps/-/raw/issue-3328JSON/app/src/main/assets/systemApp.json" } Loading
app/src/main/java/foundation/e/apps/application/model/IntegrityVerificationTask.kt +2 −3 Original line number Diff line number Diff line Loading @@ -159,9 +159,8 @@ class IntegrityVerificationTask( } } try { if (packageName == JSONObject(jsonResponse).get(packageName)) { return true } return JSONObject(jsonResponse).has(packageName); } catch (e: Exception) { if (e is JSONException) { Log.d(TAG, "$packageName is not a system application") Loading
app/src/main/java/foundation/e/apps/utils/Constants.kt +2 −1 Original line number Diff line number Diff line Loading @@ -71,5 +71,6 @@ object Constants { // Integrity Verification const val F_DROID_PACKAGES_URL = "https://f-droid.org/en/packages/" const val SYSTEM_PACKAGES_JSON_FILE_URL = "https://gitlab.e.foundation/e/apps/apps/-/raw/e169c1905114d97af867b051f96c38166f4782e2/app/src/main/assets/systemApp.json" //const val SYSTEM_PACKAGES_JSON_FILE_URL = "https://gitlab.e.foundation/e/apps/apps/-/raw/e169c1905114d97af867b051f96c38166f4782e2/app/src/main/assets/systemApp.json" const val SYSTEM_PACKAGES_JSON_FILE_URL = "https://gitlab.e.foundation/e/apps/apps/-/raw/issue-3328JSON/app/src/main/assets/systemApp.json" }