diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index f390bce0b1..aa3b4bc90d 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -43,7 +43,8 @@ + android:screenOrientation="behind" + android:noHistory="true"> diff --git a/android/src/com/mapswithme/maps/CopyResourcesActivity.java b/android/src/com/mapswithme/maps/CopyResourcesActivity.java index 60c353e1f7..eba93bb727 100644 --- a/android/src/com/mapswithme/maps/CopyResourcesActivity.java +++ b/android/src/com/mapswithme/maps/CopyResourcesActivity.java @@ -126,7 +126,7 @@ public class CopyResourcesActivity extends Activity // Continue with Main UI initialization (MWMActivity) Intent mwmActivityIntent = new Intent(this, MWMActivity.class); // Disable animation because MWMActivity should appear exactly over this one - mwmActivityIntent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); + mwmActivityIntent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION | Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); startActivity(mwmActivityIntent); } else diff --git a/android/src/com/mapswithme/maps/DownloadUI.java b/android/src/com/mapswithme/maps/DownloadUI.java index 07c6326497..f3d8298e4e 100644 --- a/android/src/com/mapswithme/maps/DownloadUI.java +++ b/android/src/com/mapswithme/maps/DownloadUI.java @@ -287,7 +287,7 @@ public class DownloadUI extends PreferenceActivity { Intent mwmActivityIntent = new Intent(this, MWMActivity.class); // Disable animation because MWMActivity should appear exactly over this one - mwmActivityIntent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); + mwmActivityIntent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION | Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); startActivity(mwmActivityIntent); } }