forked from organicmaps/organicmaps
Removed old dialog.
This commit is contained in:
parent
e8d197cedc
commit
416b3c840d
1 changed files with 0 additions and 23 deletions
|
@ -279,7 +279,6 @@ public class MWMActivity extends NvEventQueueActivity
|
|||
checkMeasurementSystem();
|
||||
checkUpdateMaps();
|
||||
checkKitkatMigrationMove();
|
||||
checkRoutingMaps();
|
||||
checkLiteMapsInPro();
|
||||
checkUserMarkActivation();
|
||||
}
|
||||
|
@ -407,28 +406,6 @@ public class MWMActivity extends NvEventQueueActivity
|
|||
);
|
||||
}
|
||||
|
||||
private void checkRoutingMaps()
|
||||
{
|
||||
if (MWMApplication.get().nativeGetBoolean(IS_FIRST_ROUTING_VERSION_RUN, true)
|
||||
&& ActiveCountryTree.getOutOfDateCount() != 0)
|
||||
{
|
||||
MWMApplication.get().nativeSetBoolean(IS_FIRST_ROUTING_VERSION_RUN, false);
|
||||
new AlertDialog.Builder(this)
|
||||
.setCancelable(false)
|
||||
.setMessage(getString(R.string.routing_update_maps))
|
||||
.setPositiveButton(getString(R.string.ok), new DialogInterface.OnClickListener()
|
||||
{
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which)
|
||||
{
|
||||
dialog.dismiss();
|
||||
}
|
||||
})
|
||||
.create()
|
||||
.show();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if PRO version is running on KITKAT or greater sdk.
|
||||
* If so - checks whether LITE version is installed and contains maps on sd card and then copies them to own directory on sdcard.
|
||||
|
|
Loading…
Add table
Reference in a new issue