forked from organicmaps/organicmaps
[new downloader][android] fix: Do not allow migrating while route plan is active.
This commit is contained in:
parent
eb637cb3ef
commit
01486f9df6
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue