Merge "Logging fold update name instead of just integer for easier bug report reading" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
acc8dd3223
@@ -31,6 +31,7 @@ import com.android.systemui.unfold.updates.FOLD_UPDATE_UNFOLDED_SCREEN_AVAILABLE
|
|||||||
import com.android.systemui.unfold.updates.FoldStateProvider
|
import com.android.systemui.unfold.updates.FoldStateProvider
|
||||||
import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
|
import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
|
||||||
import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdatesListener
|
import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdatesListener
|
||||||
|
import com.android.systemui.unfold.updates.name
|
||||||
|
|
||||||
/** Maps fold updates to unfold transition progress using DynamicAnimation. */
|
/** Maps fold updates to unfold transition progress using DynamicAnimation. */
|
||||||
class PhysicsBasedUnfoldTransitionProgressProvider(
|
class PhysicsBasedUnfoldTransitionProgressProvider(
|
||||||
@@ -117,7 +118,7 @@ class PhysicsBasedUnfoldTransitionProgressProvider(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
Log.d(TAG, "onFoldUpdate = $update")
|
Log.d(TAG, "onFoldUpdate = ${update.name()}")
|
||||||
Trace.traceCounter(Trace.TRACE_TAG_APP, "fold_update", update)
|
Trace.traceCounter(Trace.TRACE_TAG_APP, "fold_update", update)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user