Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorАлександр Зацепин <az@mapswithme.com>2017-07-20 19:03:17 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2017-07-21 15:24:02 +0300
commitcc16e8fdcde7bf69c08799b7775dc7e61bb02ef5 (patch)
tree9d8a30222b6118edc7e1fdab3f2f1febe539b598 /android/AndroidManifest.xml
parent7e3d66f7e5441fedb5d5bfe1e4c98b2725f129fc (diff)
[android] Made the activity alias to redirect to the SplashActivity from the old app icons
Diffstat (limited to 'android/AndroidManifest.xml')
-rw-r--r--android/AndroidManifest.xml17
1 files changed, 11 insertions, 6 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml
index 745fd626a4..5bc134ec2b 100644
--- a/android/AndroidManifest.xml
+++ b/android/AndroidManifest.xml
@@ -85,11 +85,6 @@
android:name="com.mapswithme.maps.SplashActivity"
android:label="@string/app_name">
- <intent-filter>
- <action android:name="android.intent.action.MAIN"/>
- <category android:name="android.intent.category.LAUNCHER"/>
- </intent-filter>
-
<!-- standard "geo" scheme -->
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
@@ -202,10 +197,20 @@
</activity>
<activity
- android:name="com.mapswithme.maps.DownloadResourcesActivity"
+ android:name="com.mapswithme.maps.DownloadResourcesLegacyActivity"
android:configChanges="orientation|screenLayout|screenSize"
android:label="@string/app_name"/>
+ <activity-alias
+ android:name="com.mapswithme.maps.DownloadResourcesActivity"
+ android:label="@string/app_name"
+ android:targetActivity="com.mapswithme.maps.SplashActivity">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity-alias>
+
<activity
android:name="com.mapswithme.maps.MwmActivity"
android:launchMode="singleTask"