mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Merge "[3/n] Update StartupLatencyLogger's @VisibleForTesting" into udc-dev
This commit is contained in:
@@ -21,14 +21,13 @@ open class StartupLatencyLogger(val latencyType: LatencyType) {
|
||||
const val UNSET_LONG = -1L
|
||||
}
|
||||
|
||||
@VisibleForTesting(otherwise = VisibleForTesting.PACKAGE_PRIVATE)
|
||||
@VisibleForTesting(otherwise = VisibleForTesting.PROTECTED)
|
||||
val startTimeByEvent = SparseLongArray()
|
||||
@VisibleForTesting(otherwise = VisibleForTesting.PACKAGE_PRIVATE)
|
||||
@VisibleForTesting(otherwise = VisibleForTesting.PROTECTED)
|
||||
val endTimeByEvent = SparseLongArray()
|
||||
|
||||
@VisibleForTesting(otherwise = VisibleForTesting.PACKAGE_PRIVATE)
|
||||
var cardinality: Int = UNSET_INT
|
||||
@VisibleForTesting(otherwise = VisibleForTesting.PACKAGE_PRIVATE)
|
||||
@VisibleForTesting(otherwise = VisibleForTesting.PROTECTED) var cardinality: Int = UNSET_INT
|
||||
@VisibleForTesting(otherwise = VisibleForTesting.PROTECTED)
|
||||
var workspaceLoadStartTime: Long = UNSET_LONG
|
||||
|
||||
private var isInTest = false
|
||||
|
||||
Reference in New Issue
Block a user