Removed old dialog.

This commit is contained in:
Dmitry Yunitsky 2015-01-29 20:25:01 +03:00 committed by Alex Zolotarev
parent e8d197cedc
commit 416b3c840d

View file

@ -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.