Add addtional LS shade dragDown logs
Test: manually view logs in LSShadeTransitionLog section from `adb shell dumpsys activity service com.android.systemui` Bug: 216500919 Change-Id: Id4a63b2e3b5bd4f49d7a6aee2b9257c7ad7251b3
This commit is contained in:
@@ -248,6 +248,7 @@ class LockscreenShadeTransitionController @Inject constructor(
|
||||
// override that
|
||||
forceApplyAmount = true
|
||||
// Reset the behavior. At this point the animation is already started
|
||||
logger.logDragDownAmountReset()
|
||||
dragDownAmount = 0f
|
||||
forceApplyAmount = false
|
||||
}
|
||||
@@ -409,6 +410,7 @@ class LockscreenShadeTransitionController @Inject constructor(
|
||||
setDragDownAmountAnimated(fullTransitionDistance.toFloat(), delay = delay) {
|
||||
// End listener:
|
||||
// Reset
|
||||
logger.logDragDownAmountReset()
|
||||
dragDownAmount = 0f
|
||||
forceApplyAmount = false
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ class LSShadeTransitionLogger @Inject constructor(
|
||||
|
||||
fun logDragDownAborted() {
|
||||
buffer.log(TAG, LogLevel.INFO, {}, {
|
||||
"The drag down was reset"
|
||||
"The drag down was aborted and reset to 0f."
|
||||
})
|
||||
}
|
||||
|
||||
@@ -82,6 +82,12 @@ class LSShadeTransitionLogger @Inject constructor(
|
||||
LockscreenGestureLogger.LockscreenUiEvent.LOCKSCREEN_PULL_SHADE_OPEN)
|
||||
}
|
||||
|
||||
fun logDragDownAmountReset() {
|
||||
buffer.log(TAG, LogLevel.DEBUG, {}, {
|
||||
"The drag down amount has been reset to 0f."
|
||||
})
|
||||
}
|
||||
|
||||
fun logDefaultGoToFullShadeAnimation(delay: Long) {
|
||||
buffer.log(TAG, LogLevel.DEBUG, {
|
||||
long1 = delay
|
||||
|
||||
Reference in New Issue
Block a user