From 100fe4a511c3a34c31b763fc150fc941f9bec062 Mon Sep 17 00:00:00 2001 From: alexzatsepin Date: Mon, 17 Oct 2016 15:38:44 +0300 Subject: [PATCH] [android] Added route type checking while uber info coming --- android/src/com/mapswithme/maps/routing/RoutingController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/com/mapswithme/maps/routing/RoutingController.java b/android/src/com/mapswithme/maps/routing/RoutingController.java index da71188656..62fcb80c0f 100644 --- a/android/src/com/mapswithme/maps/routing/RoutingController.java +++ b/android/src/com/mapswithme/maps/routing/RoutingController.java @@ -770,7 +770,7 @@ public class RoutingController private void onUberInfoReceived(@NonNull UberInfo info) { mLogger.d("onUberInfoReceived uberInfo = " + info); - if (mContainer != null) + if (mLastRouterType == Framework.ROUTER_TYPE_TAXI && mContainer != null) mContainer.onUberInfoReceived(info); } }