зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
40b1765701
Коммит
a341eb3f58
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче