From 6a2dc77f869333801ee903b8a37898de8347b681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=97=D0=B0=D1=86=D0=B5=D0=BF=D0=B8=D0=BD?= Date: Fri, 19 Apr 2019 17:48:25 +0300 Subject: [PATCH] [android] Added ignoring of the tips and tricks showing on the first app launch(onboarding) --- android/src/com/mapswithme/maps/MwmActivity.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/android/src/com/mapswithme/maps/MwmActivity.java b/android/src/com/mapswithme/maps/MwmActivity.java index 97cbb662f3..5927dcf9aa 100644 --- a/android/src/com/mapswithme/maps/MwmActivity.java +++ b/android/src/com/mapswithme/maps/MwmActivity.java @@ -504,8 +504,9 @@ public class MwmActivity extends BaseMwmFragmentActivity boolean isConsumed = savedInstanceState == null && processIntent(getIntent()); // If the map activity is launched by any incoming intent (deeplink, update maps event, etc) - // we haven't to try restoring the route, showing the tips, etc. - if (isConsumed) + // or it's the first launch (onboarding) we haven't to try restoring the route, + // showing the tips, etc. + if (isConsumed || MwmApplication.from(this).isFirstLaunch()) return; if (savedInstanceState == null && RoutingController.get().hasSavedRoute())