[new downloader][android] fix: Review fix.

This commit is contained in:
Alexander Marchuk 2016-03-10 18:11:18 +03:00 committed by Sergey Yershov
parent e434d4856f
commit 747a86c8d6

View file

@ -227,6 +227,8 @@ public class OnmapDownloader implements MwmActivity.LeftAnimationTrackListener
if (Config.isAutodownloadDisableOfferShown())
return;
// Here we track pressing "Cancel" if map is autodownloading.
// If the user cancels downloading three times within 30s interval, he is offered to disable map autodownloading.
long now = System.currentTimeMillis();
if (mCancelTimestamps.size() + 1 == CANCEL_LOCK_TIMES)
{