From e81a5b1b5cdb60240779d310b15d06d0a9985af4 Mon Sep 17 00:00:00 2001 From: Joe Clark Date: Mon, 8 Jan 2024 11:06:55 -0700 Subject: [PATCH 1/2] string resource --- .../java/mil/nga/mapcache/repository/GeoPackageRepository.java | 2 +- mapcache/src/main/res/values/strings.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mapcache/src/main/java/mil/nga/mapcache/repository/GeoPackageRepository.java b/mapcache/src/main/java/mil/nga/mapcache/repository/GeoPackageRepository.java index 9c6f49f4..c09d211c 100644 --- a/mapcache/src/main/java/mil/nga/mapcache/repository/GeoPackageRepository.java +++ b/mapcache/src/main/java/mil/nga/mapcache/repository/GeoPackageRepository.java @@ -402,7 +402,7 @@ public List> regenerateTableList() { // Delete any databases with invalid headers if (!manager.validateHeader(database) || - database.equalsIgnoreCase("ue3.db")) { + database.equalsIgnoreCase(context.getString(R.string.invalidDb))) { cache.removeAndClose(database); if (manager.delete(database)) { databasesIterator.remove(); diff --git a/mapcache/src/main/res/values/strings.xml b/mapcache/src/main/res/values/strings.xml index 5ce46b5f..71ddf93f 100644 --- a/mapcache/src/main/res/values/strings.xml +++ b/mapcache/src/main/res/values/strings.xml @@ -486,6 +486,8 @@ Min Lat Add URL MapCache will make a copy of this GeoPackage and save it internally + ue3.db + From 15c29496fd748164ed1d5a57d652a8c7aaf275e8 Mon Sep 17 00:00:00 2001 From: Joe Clark Date: Wed, 10 Jan 2024 09:22:50 -0700 Subject: [PATCH 2/2] update version code --- mapcache/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapcache/build.gradle b/mapcache/build.gradle index b670c5dc..1ea12a78 100644 --- a/mapcache/build.gradle +++ b/mapcache/build.gradle @@ -23,7 +23,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" minSdkVersion 28 targetSdkVersion 34 - versionCode 60 + versionCode 61 versionName '2.1.11' multiDexEnabled true }