Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fccadc85 authored by Justin Weir's avatar Justin Weir Committed by Android (Google) Code Review
Browse files

Merge "Reformat two Kotlin files I mistakenly formatted with IntelliJ" into tm-qpr-dev

parents f22ddb29 9839190a
Loading
Loading
Loading
Loading
+61 −56
Original line number Diff line number Diff line
@@ -28,7 +28,8 @@ class ShadeLogger @Inject constructor(@ShadeLog private val buffer: LogBuffer) {
        log(
            LogLevel.VERBOSE,
            { double1 = h.toDouble() },
        { "onQsIntercept: move action, QS tracking enabled. h = $double1" })
            { "onQsIntercept: move action, QS tracking enabled. h = $double1" }
        )
    }

    fun logQsTrackingNotStarted(
@@ -54,9 +55,10 @@ class ShadeLogger @Inject constructor(@ShadeLog private val buffer: LogBuffer) {
                bool4 = qsExpansionEnabled
            },
            {
          "QsTrackingNotStarted: initTouchY=$int1,y=$int2,h=$long1,slop=$double1,qsExpanded=" +
              "$bool1,collapsedDown=$bool2,keyguardShowing=$bool3,qsExpansion=$bool4"
        })
                "QsTrackingNotStarted: initTouchY=$int1,y=$int2,h=$long1,slop=$double1,qsExpanded" +
                    "=$bool1,collapsedDown=$bool2,keyguardShowing=$bool3,qsExpansion=$bool4"
            }
        )
    }

    fun logMotionEvent(event: MotionEvent, message: String) {
@@ -70,6 +72,9 @@ class ShadeLogger @Inject constructor(@ShadeLog private val buffer: LogBuffer) {
                int2 = event.classification
                double1 = event.y.toDouble()
            },
        { "$str1\neventTime=$long1,downTime=$long2,y=$double1,action=$int1,classification=$int2" })
            {
                "$str1\neventTime=$long1,downTime=$long2,y=$double1,action=$int1,class=$int2"
            }
        )
    }
}