From e25ee98d7de743fe4ac86eaf5ef3d5284383462c Mon Sep 17 00:00:00 2001 From: Michael Comella Date: Tue, 21 Jan 2020 23:36:16 -0800 Subject: [PATCH] No issue: fix typo in Performance.instrumentColdStartup... (#7848) --- app/src/main/java/org/mozilla/fenix/perf/Performance.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/perf/Performance.kt b/app/src/main/java/org/mozilla/fenix/perf/Performance.kt index d148e1fe2..a1efb8fe7 100644 --- a/app/src/main/java/org/mozilla/fenix/perf/Performance.kt +++ b/app/src/main/java/org/mozilla/fenix/perf/Performance.kt @@ -29,7 +29,7 @@ object Performance { fun instrumentColdStartupToHomescreenTime(activity: HomeActivity) { // For greater accuracy, we could add an onDrawListener instead of a preDrawListener but: // - single use onDrawListeners are not built-in and it's non-trivial to write one - // - the difference is timing is minimal (< 7ms on Pixel 2) + // - the difference in timing is minimal (< 7ms on Pixel 2) // - if we compare against another app using a preDrawListener, it should be comparable // // Unfortunately, this is tightly coupled to the root view of HomeActivity's view hierarchy