diff --git a/.idea/gradle.xml b/.idea/gradle.xml index bb270f0..ec711ec 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -12,11 +12,11 @@ - + \ No newline at end of file diff --git a/app/src/main/assets/demo_dks.zip b/app/src/main/assets/demo_dks.zip deleted file mode 100644 index 5c1f63e..0000000 Binary files a/app/src/main/assets/demo_dks.zip and /dev/null differ diff --git a/app/src/main/assets/demo_dks_normal.zip b/app/src/main/assets/demo_dks_normal.zip deleted file mode 100644 index 5c1f63e..0000000 Binary files a/app/src/main/assets/demo_dks_normal.zip and /dev/null differ diff --git a/app/src/main/assets/demo_dks_small.zip b/app/src/main/assets/demo_dks_small.zip deleted file mode 100644 index 116e6f8..0000000 Binary files a/app/src/main/assets/demo_dks_small.zip and /dev/null differ diff --git a/app/.gitignore b/corona-warn-companion/.gitignore similarity index 100% rename from app/.gitignore rename to corona-warn-companion/.gitignore diff --git a/app/build.gradle b/corona-warn-companion/build.gradle similarity index 79% rename from app/build.gradle rename to corona-warn-companion/build.gradle index e782fe9..e628ed1 100644 --- a/app/build.gradle +++ b/corona-warn-companion/build.gradle @@ -22,7 +22,28 @@ plugins { apply plugin: 'com.android.application' apply plugin: 'com.google.android.gms.oss-licenses-plugin' +/* Get password from macOS Keychain */ +def getPassword(String keyChain) { + def stdout = new ByteArrayOutputStream() + def stderr = new ByteArrayOutputStream() + exec { + commandLine 'security', '-q', 'find-generic-password', '-gl', keyChain + standardOutput = stdout + errorOutput = stderr + ignoreExitValue true + } + (stderr.toString().trim() =~ /password: "(.*)"/)[0][1] +} + android { + signingConfigs { + release { + storeFile file(System.getProperty("user.home") + "/AndroidSigningKeystores/" + project.name) + keyAlias 'upload' + storePassword getPassword("ANDROID_STORE_PASSWORD") + keyPassword getPassword("ANDROID_KEY_PASSWORD") + } + } compileSdkVersion 29 buildToolsVersion "29.0.3" @@ -40,6 +61,10 @@ android { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + signingConfig signingConfigs.release + } + debug { + signingConfig signingConfigs.debug } } @@ -49,6 +74,10 @@ android { // Flag to enable support for the new language APIs coreLibraryDesugaringEnabled true } + + testOptions { + unitTests.returnDefaultValues = true + } } repositories { diff --git a/app/proguard-rules.pro b/corona-warn-companion/proguard-rules.pro similarity index 100% rename from app/proguard-rules.pro rename to corona-warn-companion/proguard-rules.pro diff --git a/app/src/androidTest/java/org/tosl/coronawarncompanion/ExampleInstrumentedTest.java b/corona-warn-companion/src/androidTest/java/org/tosl/coronawarncompanion/ExampleInstrumentedTest.java similarity index 100% rename from app/src/androidTest/java/org/tosl/coronawarncompanion/ExampleInstrumentedTest.java rename to corona-warn-companion/src/androidTest/java/org/tosl/coronawarncompanion/ExampleInstrumentedTest.java diff --git a/app/src/main/AndroidManifest.xml b/corona-warn-companion/src/main/AndroidManifest.xml similarity index 100% rename from app/src/main/AndroidManifest.xml rename to corona-warn-companion/src/main/AndroidManifest.xml diff --git a/app/src/main/assets/about_de.md b/corona-warn-companion/src/main/assets/about_de.md similarity index 100% rename from app/src/main/assets/about_de.md rename to corona-warn-companion/src/main/assets/about_de.md diff --git a/app/src/main/assets/about_en.md b/corona-warn-companion/src/main/assets/about_en.md similarity index 100% rename from app/src/main/assets/about_en.md rename to corona-warn-companion/src/main/assets/about_en.md diff --git a/app/src/main/assets/demo_rpi_db/000016.ldb b/corona-warn-companion/src/main/assets/demo_rpi_db/000016.ldb similarity index 100% rename from app/src/main/assets/demo_rpi_db/000016.ldb rename to corona-warn-companion/src/main/assets/demo_rpi_db/000016.ldb diff --git a/app/src/main/assets/demo_rpi_db/000018.ldb b/corona-warn-companion/src/main/assets/demo_rpi_db/000018.ldb similarity index 100% rename from app/src/main/assets/demo_rpi_db/000018.ldb rename to corona-warn-companion/src/main/assets/demo_rpi_db/000018.ldb diff --git a/app/src/main/assets/demo_rpi_db/CURRENT b/corona-warn-companion/src/main/assets/demo_rpi_db/CURRENT similarity index 100% rename from app/src/main/assets/demo_rpi_db/CURRENT rename to corona-warn-companion/src/main/assets/demo_rpi_db/CURRENT diff --git a/app/src/main/assets/demo_rpi_db/LOCK b/corona-warn-companion/src/main/assets/demo_rpi_db/LOCK similarity index 100% rename from app/src/main/assets/demo_rpi_db/LOCK rename to corona-warn-companion/src/main/assets/demo_rpi_db/LOCK diff --git a/app/src/main/assets/demo_rpi_db/LOG b/corona-warn-companion/src/main/assets/demo_rpi_db/LOG similarity index 100% rename from app/src/main/assets/demo_rpi_db/LOG rename to corona-warn-companion/src/main/assets/demo_rpi_db/LOG diff --git a/app/src/main/assets/demo_rpi_db/LOG.old b/corona-warn-companion/src/main/assets/demo_rpi_db/LOG.old similarity index 100% rename from app/src/main/assets/demo_rpi_db/LOG.old rename to corona-warn-companion/src/main/assets/demo_rpi_db/LOG.old diff --git a/app/src/main/assets/demo_rpi_db/MANIFEST-000017 b/corona-warn-companion/src/main/assets/demo_rpi_db/MANIFEST-000017 similarity index 100% rename from app/src/main/assets/demo_rpi_db/MANIFEST-000017 rename to corona-warn-companion/src/main/assets/demo_rpi_db/MANIFEST-000017 diff --git a/app/src/main/assets/details_de.png b/corona-warn-companion/src/main/assets/details_de.png similarity index 100% rename from app/src/main/assets/details_de.png rename to corona-warn-companion/src/main/assets/details_de.png diff --git a/app/src/main/assets/details_en.png b/corona-warn-companion/src/main/assets/details_en.png similarity index 100% rename from app/src/main/assets/details_en.png rename to corona-warn-companion/src/main/assets/details_en.png diff --git a/app/src/main/assets/dks_de.png b/corona-warn-companion/src/main/assets/dks_de.png similarity index 100% rename from app/src/main/assets/dks_de.png rename to corona-warn-companion/src/main/assets/dks_de.png diff --git a/app/src/main/assets/dks_en.png b/corona-warn-companion/src/main/assets/dks_en.png similarity index 100% rename from app/src/main/assets/dks_en.png rename to corona-warn-companion/src/main/assets/dks_en.png diff --git a/app/src/main/assets/matches_de.png b/corona-warn-companion/src/main/assets/matches_de.png similarity index 100% rename from app/src/main/assets/matches_de.png rename to corona-warn-companion/src/main/assets/matches_de.png diff --git a/app/src/main/assets/matches_en.png b/corona-warn-companion/src/main/assets/matches_en.png similarity index 100% rename from app/src/main/assets/matches_en.png rename to corona-warn-companion/src/main/assets/matches_en.png diff --git a/app/src/main/assets/notice.md b/corona-warn-companion/src/main/assets/notice.md similarity index 100% rename from app/src/main/assets/notice.md rename to corona-warn-companion/src/main/assets/notice.md diff --git a/app/src/main/assets/rpis_de.png b/corona-warn-companion/src/main/assets/rpis_de.png similarity index 100% rename from app/src/main/assets/rpis_de.png rename to corona-warn-companion/src/main/assets/rpis_de.png diff --git a/app/src/main/assets/rpis_en.png b/corona-warn-companion/src/main/assets/rpis_en.png similarity index 100% rename from app/src/main/assets/rpis_en.png rename to corona-warn-companion/src/main/assets/rpis_en.png diff --git a/app/src/main/ic_launcher-playstore.png b/corona-warn-companion/src/main/ic_launcher-playstore.png similarity index 100% rename from app/src/main/ic_launcher-playstore.png rename to corona-warn-companion/src/main/ic_launcher-playstore.png diff --git a/app/src/main/java/org/tosl/coronawarncompanion/AboutActivity.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/AboutActivity.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/AboutActivity.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/AboutActivity.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/CWCApplication.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/CWCApplication.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/CWCApplication.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/CWCApplication.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/DisplayDetailsActivity.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/DisplayDetailsActivity.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/DisplayDetailsActivity.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/DisplayDetailsActivity.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/DisplayLicensesActivity.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/DisplayLicensesActivity.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/DisplayLicensesActivity.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/DisplayLicensesActivity.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/MainActivity.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/MainActivity.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/MainActivity.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/MainActivity.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/barcharts/BarChartSync.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/barcharts/BarChartSync.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/barcharts/BarChartSync.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/barcharts/BarChartSync.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/barcharts/ChartGestureListener.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/barcharts/ChartGestureListener.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/barcharts/ChartGestureListener.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/barcharts/ChartGestureListener.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/barcharts/CwcBarChart.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/barcharts/CwcBarChart.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/barcharts/CwcBarChart.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/barcharts/CwcBarChart.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/crypto/AesCtrEncryptor.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/crypto/AesCtrEncryptor.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/crypto/AesCtrEncryptor.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/crypto/AesCtrEncryptor.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/crypto/AesEcbEncryptor.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/crypto/AesEcbEncryptor.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/crypto/AesEcbEncryptor.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/crypto/AesEcbEncryptor.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/crypto/CryptoException.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/crypto/CryptoException.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/crypto/CryptoException.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/crypto/CryptoException.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/crypto/KeyDerivation.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/crypto/KeyDerivation.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/crypto/KeyDerivation.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/crypto/KeyDerivation.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/DiagnosisKeysImport.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/DiagnosisKeysImport.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/DiagnosisKeysImport.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/DiagnosisKeysImport.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/DiagnosisKeysProtos.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/DiagnosisKeysProtos.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/DiagnosisKeysProtos.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/DiagnosisKeysProtos.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/TemporaryExposureKeyExportV1_5.proto b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/TemporaryExposureKeyExportV1_5.proto similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/TemporaryExposureKeyExportV1_5.proto rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/diagnosiskeys/TemporaryExposureKeyExportV1_5.proto diff --git a/app/src/main/java/org/tosl/coronawarncompanion/dkdownload/ByteArrayRequest.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/dkdownload/ByteArrayRequest.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/dkdownload/ByteArrayRequest.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/dkdownload/ByteArrayRequest.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/dkdownload/DKDownload.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/dkdownload/DKDownload.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/dkdownload/DKDownload.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/dkdownload/DKDownload.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/dkdownload/Unzip.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/dkdownload/Unzip.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/dkdownload/Unzip.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/dkdownload/Unzip.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactDbOnDisk.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactDbOnDisk.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactDbOnDisk.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactDbOnDisk.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactRecords.proto b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactRecords.proto similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactRecords.proto rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactRecords.proto diff --git a/app/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactRecordsProtos.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactRecordsProtos.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactRecordsProtos.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/gmsreadout/ContactRecordsProtos.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/gmsreadout/RpiList.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/gmsreadout/RpiList.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/gmsreadout/RpiList.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/gmsreadout/RpiList.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/gmsreadout/Sudo.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/gmsreadout/Sudo.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/gmsreadout/Sudo.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/gmsreadout/Sudo.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchEntryContent.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchEntryContent.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchEntryContent.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchEntryContent.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewAdapter.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewAdapter.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewAdapter.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewAdapter.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewFragment.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewFragment.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewFragment.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matchentries/MatchesRecyclerViewFragment.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/matcher/Crypto.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matcher/Crypto.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/matcher/Crypto.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matcher/Crypto.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/matcher/Matcher.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matcher/Matcher.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/matcher/Matcher.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/matcher/Matcher.java diff --git a/app/src/main/java/org/tosl/coronawarncompanion/tools/Utils.java b/corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/tools/Utils.java similarity index 100% rename from app/src/main/java/org/tosl/coronawarncompanion/tools/Utils.java rename to corona-warn-companion/src/main/java/org/tosl/coronawarncompanion/tools/Utils.java diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/corona-warn-companion/src/main/res/drawable-v24/ic_launcher_foreground.xml similarity index 100% rename from app/src/main/res/drawable-v24/ic_launcher_foreground.xml rename to corona-warn-companion/src/main/res/drawable-v24/ic_launcher_foreground.xml diff --git a/app/src/main/res/drawable/frame.xml b/corona-warn-companion/src/main/res/drawable/frame.xml similarity index 100% rename from app/src/main/res/drawable/frame.xml rename to corona-warn-companion/src/main/res/drawable/frame.xml diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/corona-warn-companion/src/main/res/drawable/ic_launcher_background.xml similarity index 100% rename from app/src/main/res/drawable/ic_launcher_background.xml rename to corona-warn-companion/src/main/res/drawable/ic_launcher_background.xml diff --git a/app/src/main/res/drawable/icon_large.png b/corona-warn-companion/src/main/res/drawable/icon_large.png similarity index 100% rename from app/src/main/res/drawable/icon_large.png rename to corona-warn-companion/src/main/res/drawable/icon_large.png diff --git a/app/src/main/res/layout/activity_about.xml b/corona-warn-companion/src/main/res/layout/activity_about.xml similarity index 100% rename from app/src/main/res/layout/activity_about.xml rename to corona-warn-companion/src/main/res/layout/activity_about.xml diff --git a/app/src/main/res/layout/activity_display_details.xml b/corona-warn-companion/src/main/res/layout/activity_display_details.xml similarity index 100% rename from app/src/main/res/layout/activity_display_details.xml rename to corona-warn-companion/src/main/res/layout/activity_display_details.xml diff --git a/app/src/main/res/layout/activity_display_licenses.xml b/corona-warn-companion/src/main/res/layout/activity_display_licenses.xml similarity index 100% rename from app/src/main/res/layout/activity_display_licenses.xml rename to corona-warn-companion/src/main/res/layout/activity_display_licenses.xml diff --git a/app/src/main/res/layout/activity_main.xml b/corona-warn-companion/src/main/res/layout/activity_main.xml similarity index 100% rename from app/src/main/res/layout/activity_main.xml rename to corona-warn-companion/src/main/res/layout/activity_main.xml diff --git a/app/src/main/res/layout/match_card_fragment.xml b/corona-warn-companion/src/main/res/layout/match_card_fragment.xml similarity index 100% rename from app/src/main/res/layout/match_card_fragment.xml rename to corona-warn-companion/src/main/res/layout/match_card_fragment.xml diff --git a/app/src/main/res/layout/recycler_view_fragment.xml b/corona-warn-companion/src/main/res/layout/recycler_view_fragment.xml similarity index 100% rename from app/src/main/res/layout/recycler_view_fragment.xml rename to corona-warn-companion/src/main/res/layout/recycler_view_fragment.xml diff --git a/app/src/main/res/menu/details_activity_menu.xml b/corona-warn-companion/src/main/res/menu/details_activity_menu.xml similarity index 100% rename from app/src/main/res/menu/details_activity_menu.xml rename to corona-warn-companion/src/main/res/menu/details_activity_menu.xml diff --git a/app/src/main/res/menu/licenses_activity_menu.xml b/corona-warn-companion/src/main/res/menu/licenses_activity_menu.xml similarity index 100% rename from app/src/main/res/menu/licenses_activity_menu.xml rename to corona-warn-companion/src/main/res/menu/licenses_activity_menu.xml diff --git a/app/src/main/res/menu/main_activity_menu.xml b/corona-warn-companion/src/main/res/menu/main_activity_menu.xml similarity index 100% rename from app/src/main/res/menu/main_activity_menu.xml rename to corona-warn-companion/src/main/res/menu/main_activity_menu.xml diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/corona-warn-companion/src/main/res/mipmap-anydpi-v26/ic_launcher.xml similarity index 100% rename from app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml rename to corona-warn-companion/src/main/res/mipmap-anydpi-v26/ic_launcher.xml diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/corona-warn-companion/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml similarity index 100% rename from app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml rename to corona-warn-companion/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/corona-warn-companion/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from app/src/main/res/mipmap-hdpi/ic_launcher.png rename to corona-warn-companion/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/corona-warn-companion/src/main/res/mipmap-hdpi/ic_launcher_foreground.png similarity index 100% rename from app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png rename to corona-warn-companion/src/main/res/mipmap-hdpi/ic_launcher_foreground.png diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/corona-warn-companion/src/main/res/mipmap-hdpi/ic_launcher_round.png similarity index 100% rename from app/src/main/res/mipmap-hdpi/ic_launcher_round.png rename to corona-warn-companion/src/main/res/mipmap-hdpi/ic_launcher_round.png diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/corona-warn-companion/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from app/src/main/res/mipmap-mdpi/ic_launcher.png rename to corona-warn-companion/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/corona-warn-companion/src/main/res/mipmap-mdpi/ic_launcher_foreground.png similarity index 100% rename from app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png rename to corona-warn-companion/src/main/res/mipmap-mdpi/ic_launcher_foreground.png diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/corona-warn-companion/src/main/res/mipmap-mdpi/ic_launcher_round.png similarity index 100% rename from app/src/main/res/mipmap-mdpi/ic_launcher_round.png rename to corona-warn-companion/src/main/res/mipmap-mdpi/ic_launcher_round.png diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/corona-warn-companion/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to corona-warn-companion/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/corona-warn-companion/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png similarity index 100% rename from app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png rename to corona-warn-companion/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/corona-warn-companion/src/main/res/mipmap-xhdpi/ic_launcher_round.png similarity index 100% rename from app/src/main/res/mipmap-xhdpi/ic_launcher_round.png rename to corona-warn-companion/src/main/res/mipmap-xhdpi/ic_launcher_round.png diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/corona-warn-companion/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to corona-warn-companion/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/corona-warn-companion/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png similarity index 100% rename from app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png rename to corona-warn-companion/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/corona-warn-companion/src/main/res/mipmap-xxhdpi/ic_launcher_round.png similarity index 100% rename from app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png rename to corona-warn-companion/src/main/res/mipmap-xxhdpi/ic_launcher_round.png diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/corona-warn-companion/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to corona-warn-companion/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/corona-warn-companion/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png similarity index 100% rename from app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png rename to corona-warn-companion/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/corona-warn-companion/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png similarity index 100% rename from app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png rename to corona-warn-companion/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png diff --git a/app/src/main/res/values-de/strings.xml b/corona-warn-companion/src/main/res/values-de/strings.xml similarity index 100% rename from app/src/main/res/values-de/strings.xml rename to corona-warn-companion/src/main/res/values-de/strings.xml diff --git a/app/src/main/res/values/colors.xml b/corona-warn-companion/src/main/res/values/colors.xml similarity index 100% rename from app/src/main/res/values/colors.xml rename to corona-warn-companion/src/main/res/values/colors.xml diff --git a/app/src/main/res/values/dimens.xml b/corona-warn-companion/src/main/res/values/dimens.xml similarity index 100% rename from app/src/main/res/values/dimens.xml rename to corona-warn-companion/src/main/res/values/dimens.xml diff --git a/app/src/main/res/values/strings.xml b/corona-warn-companion/src/main/res/values/strings.xml similarity index 100% rename from app/src/main/res/values/strings.xml rename to corona-warn-companion/src/main/res/values/strings.xml diff --git a/app/src/main/res/values/styles.xml b/corona-warn-companion/src/main/res/values/styles.xml similarity index 100% rename from app/src/main/res/values/styles.xml rename to corona-warn-companion/src/main/res/values/styles.xml diff --git a/app/src/test/java/org/tosl/coronawarncompanion/MatchesRecyclerViewAdapterUnitTest.java b/corona-warn-companion/src/test/java/org/tosl/coronawarncompanion/MatchesRecyclerViewAdapterUnitTest.java similarity index 100% rename from app/src/test/java/org/tosl/coronawarncompanion/MatchesRecyclerViewAdapterUnitTest.java rename to corona-warn-companion/src/test/java/org/tosl/coronawarncompanion/MatchesRecyclerViewAdapterUnitTest.java diff --git a/settings.gradle b/settings.gradle index b60b87d..fd75b82 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,2 @@ -include ':app' +include ':corona-warn-companion' rootProject.name = "Corona-Warn-Companion"