summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Gielzak <jgielzak@google.com>2023-05-23 16:09:12 +0000
committerJakub Gielzak <jgielzak@google.com>2023-05-25 16:08:21 +0000
commita77d70b638d35bde3b707a25daf0c7cc6a95b7aa (patch)
tree0b50a0a18cabbbe66f36799f5889d4d3b260492e
parent0c32aec55dc0fb4f93959a58b8f15057cb891622 (diff)
downloadsdk-a77d70b638d35bde3b707a25daf0c7cc6a95b7aa.tar.gz
Adding Compose Tracing Initializer to allow-list
Adding androidx.compose.runtime.tracing.TracingInitializer to allow-list in the update_prebuilts.py script. This prevents the script from removing the TracingInitializer from app startup, which would break the Compose Tracing feature. The change follows aosp/Ia7648848e083e485d4754854fbdd3ee1418828dd Bug: 282947321 Test: n/a Change-Id: I2f32fbfc9b822c600c1a8fe22994283dbceb9471
-rwxr-xr-xupdate_prebuilts/update_prebuilts.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/update_prebuilts/update_prebuilts.py b/update_prebuilts/update_prebuilts.py
index 1c6b47c59..60b2d579c 100755
--- a/update_prebuilts/update_prebuilts.py
+++ b/update_prebuilts/update_prebuilts.py
@@ -389,6 +389,8 @@ denylist_files = [
enabled_initializers = set([
'androidx.lifecycle.ProcessLifecycleInitializer',
'androidx.work.WorkManagerInitializer',
+ # TODO(282947321): update after http://aosp/2600447 lands
+ 'androidx.compose.runtime.tracing.TracingInitializer',
])
android_manifest_namepaces = {