2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] No issue: extract initVisualCompletenessQueueAndQueueTasks.

This refactor, done entirely by IDE, is a no-op cleanup.
This commit is contained in:
Michael Comella 2020-07-21 13:36:06 -07:00 committed by Michael Comella
parent 1f65ba446e
commit 032ca003cd

View File

@ -151,10 +151,12 @@ open class FenixApplication : LocaleAwareApplication() {
// runStorageMaintenance()
// }
initVisualCompletenessQueueAndQueueTasks()
}
private fun initVisualCompletenessQueueAndQueueTasks() {
val taskQueue = components.performance.visualCompletenessQueue
registerActivityLifecycleCallbacks(
PerformanceActivityLifecycleCallbacks(taskQueue)
)
registerActivityLifecycleCallbacks(PerformanceActivityLifecycleCallbacks(taskQueue))
// Enable the service-experiments component to be initialized after visual completeness
// for performance wins.