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

Commit f34b4cd5 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Logging fold update name instead of just integer for easier bug report reading

Test: no need, just log update
Bug: 255208946
Change-Id: I942eded274e7cbaa760e6c8c8dbbe88b7f653b34
parent 0513b9e1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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.FoldUpdate
import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdatesListener
import com.android.systemui.unfold.updates.name

/** Maps fold updates to unfold transition progress using DynamicAnimation. */
class PhysicsBasedUnfoldTransitionProgressProvider(
@@ -117,7 +118,7 @@ class PhysicsBasedUnfoldTransitionProgressProvider(
        }

        if (DEBUG) {
            Log.d(TAG, "onFoldUpdate = $update")
            Log.d(TAG, "onFoldUpdate = ${update.name()}")
            Trace.traceCounter(Trace.TRACE_TAG_APP, "fold_update", update)
        }
    }