forked from organicmaps/organicmaps
Merge pull request #4511 from alexzatsepin/MAPSME-2737-add-check-route-type-before-uber
[android] Added route type checking while uber info coming
This commit is contained in:
commit
60b7ec0c38
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue