[new downloader][android] fix: Do not show "3G" dialog if no connection found.

This commit is contained in:
Alexander Marchuk 2016-04-04 18:22:34 +03:00
parent 708edba8c4
commit 188aebc16f

View file

@ -154,7 +154,7 @@ public final class MapManager
public static boolean warnDownloadOn3g(Activity activity, @NonNull final Runnable onAcceptListener)
{
if (sSkip3gCheck || ConnectionState.isWifiConnected())
if (sSkip3gCheck || !ConnectionState.isMobileConnected())
{
onAcceptListener.run();
return false;