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
parent abbbd5cdb7
commit 79b600db37

View File

@ -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);
}