From 91eca3fff8a382c2aa5ab0c604c96ec43338421b Mon Sep 17 00:00:00 2001 From: Rahul Ravikumar Date: Sat, 23 Nov 2024 12:23:14 -0800 Subject: [PATCH] Fix the optimizations extension to gracefully handle multiple app startups. Test: Used the trace that was linked in b/380581475 Change-Id: Icec132694b22126470f1b9f26400dd4cc41babda Fixes: 380581475 --- ui/src/plugins/dev.perfetto.AndroidStartup/optimizations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/plugins/dev.perfetto.AndroidStartup/optimizations.ts b/ui/src/plugins/dev.perfetto.AndroidStartup/optimizations.ts index c3c91e9ff8..6bfe4139b5 100644 --- a/ui/src/plugins/dev.perfetto.AndroidStartup/optimizations.ts +++ b/ui/src/plugins/dev.perfetto.AndroidStartup/optimizations.ts @@ -107,7 +107,7 @@ export async function optimizationsTrack( '${buildDetails(startup)}' AS details `; }) - .join('UNION ALL'); + .join('UNION ALL '); // The trailing space is important. const uri = '/android_startups_optimization_status'; const title = 'Optimization Status';