From c8f106b0e5f935ae1e80e19e901515676ff85bb9 Mon Sep 17 00:00:00 2001 From: Roman Tsisyk Date: Mon, 26 Apr 2021 10:20:11 +0300 Subject: [PATCH] [android] Remove bundled map from Web APK Closes #342 Signed-off-by: Roman Tsisyk --- android/build.gradle | 2 +- android/res/drawable/ic_download_map.xml | 639 ------------------ .../activity_download_resources.xml | 9 - .../layout/activity_download_resources.xml | 5 - platform/downloader_utils.cpp | 2 +- platform/downloader_utils.hpp | 2 +- storage/map_files_downloader.cpp | 4 +- 7 files changed, 5 insertions(+), 658 deletions(-) delete mode 100644 android/res/drawable/ic_download_map.xml diff --git a/android/build.gradle b/android/build.gradle index e09dd71f33..5fe034accc 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -297,7 +297,7 @@ android { dimension "default" versionName = android.defaultConfig.versionName + '-Web' buildConfigField 'String', 'SUPPORT_MAIL', '"apk@omaps.app"' - android.sourceSets.web.assets.srcDirs = ['flavors/mwm-ttf-assets'] + //android.sourceSets.web.assets.srcDirs = ['flavors/mwm-ttf-assets'] } fdroid { diff --git a/android/res/drawable/ic_download_map.xml b/android/res/drawable/ic_download_map.xml deleted file mode 100644 index bc0fbecea2..0000000000 --- a/android/res/drawable/ic_download_map.xml +++ /dev/null @@ -1,639 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/android/res/layout-land/activity_download_resources.xml b/android/res/layout-land/activity_download_resources.xml index db34a6d9fb..2fbdce7400 100644 --- a/android/res/layout-land/activity_download_resources.xml +++ b/android/res/layout-land/activity_download_resources.xml @@ -10,15 +10,6 @@ android:baselineAligned="false" android:layout_margin="@dimen/margin_base_plus" android:orientation="horizontal"> - -