[new downloader][android] fix: Do not allow migrating while route plan is active.

This commit is contained in:
Alexander Marchuk 2016-03-28 17:40:35 +03:00
parent eb637cb3ef
commit 01486f9df6

View file

@ -761,7 +761,10 @@ public class RoutingController
public boolean checkMigration(Activity activity)
{
if (!MapManager.nativeIsLegacyMode() || !isNavigating())
if (!MapManager.nativeIsLegacyMode())
return false;
if (!isNavigating() && !isPlanning())
return false;
new AlertDialog.Builder(activity)