Skip to content

Conversation

@tcmulcahy
Copy link
Collaborator

Remove the dependency on papa.SafeTrace and replace it with androidx.tracing.Trace. This simplifies the dependency tree by using the standard AndroidX tracing library instead of the third-party Papa library. (Note: we have a test-only dependency on Papa still for papa.Choreographers)

The PapaSafeTrace class now delegates to androidx.tracing.Trace methods which provide equivalent functionality. The isCurrentlyTracing property now uses Trace.isEnabled() instead of
SafeTrace.isCurrentlyTracing, and logSection() now uses the trace {} inline function from androidx.tracing.ktx.

Remove the dependency on papa.SafeTrace and replace it with
androidx.tracing.Trace. This simplifies the dependency tree by
using the standard AndroidX tracing library instead of the
third-party Papa library. (Note: we have a test-only dependency on Papa
still for papa.Choreographers)

The PapaSafeTrace class now delegates to androidx.tracing.Trace
methods which provide equivalent functionality. The isCurrentlyTracing
property now uses Trace.isEnabled() instead of
SafeTrace.isCurrentlyTracing, and logSection() now uses the trace {}
inline function from androidx.tracing.ktx.
@tcmulcahy tcmulcahy marked this pull request as ready for review November 7, 2025 17:37
@tcmulcahy tcmulcahy requested review from a team and zach-klippenstein as code owners November 7, 2025 17:37
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants