Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 59a5c8991d744bb5f2f98879e677fcf174add1ec
Author: mlykotom <mlykotom@google.com>
Date: Wed May 17 14:30:21 2023
Remove crossinline from trace
Trace cannot be used within a @Composable with crossinline.
Relnote: Remove crossinline from trace to allow using in a @Composable.
Fixes: 248344805
Test: Added
Change-Id: I53882249cba8931140b96291457d8e99abe22633
M tracing/tracing-ktx/src/androidTest/java/androidx/tracing/TraceTestKt.kt
M tracing/tracing-ktx/src/main/java/androidx/tracing/Trace.kt
https://android-review.googlesource.com/2594272
Branch: androidx-main
commit 59a5c8991d744bb5f2f98879e677fcf174add1ec
Author: mlykotom <mlykotom@google.com>
Date: Wed May 17 14:30:21 2023
Remove crossinline from trace
Trace cannot be used within a @Composable with crossinline.
Relnote: Remove crossinline from trace to allow using in a @Composable.
Fixes: 248344805
Test: Added
Change-Id: I53882249cba8931140b96291457d8e99abe22633
M tracing/tracing-ktx/src/androidTest/java/androidx/tracing/TraceTestKt.kt
M tracing/tracing-ktx/src/main/java/androidx/tracing/Trace.kt
pr...@google.com <pr...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.tracing:tracing-ktx:1.3.0-alpha01
Description
It's unnecessary, as we never intend pass the blocks down into other functions, and non-local returns may be helpful.