Re-enabled update checking. on my device, this takes up ~2ms of startup, could be more on devices with crappier fs.

--HG--
extra : rebase_source : 4f1f69387c2beb9acd94685a81486761d495c7ca
This commit is contained in:
Doug Turner 2011-10-25 20:10:56 -07:00
Родитель 40b1765701
Коммит a341eb3f58
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -1156,9 +1156,10 @@ abstract public class GeckoApp
return;
}
if (false) {
checkAndLaunchUpdate();
}
// it would be good only to do this if MOZ_UPDATER was defined
long startTime = new Date().getTime();
checkAndLaunchUpdate();
Log.w(LOGTAG, "checking for an update took " + (new Date().getTime() - startTime) + "ms");
}
}, 50);
}