1
0
Fork 0

No issue: fix typo in Performance.instrumentColdStartup... (#7848)

master
Michael Comella 2020-01-21 23:36:16 -08:00 committed by Will Hawkins
parent cf63db20b4
commit e25ee98d7d
1 changed files with 1 additions and 1 deletions

View File

@ -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