perf(agent): run diagnostic cleanup off startup thread (#2147)

* perf(agent): run stage cleanup off startup thread

* fix(agent): preserve active diagnostic stages

* test(agent): verify active stage locks cross-process
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-05 20:04:16 -05:00
1 parent 6a681bcbc2
commit c8a76e7cce
4 files changed
+61 -7

No files matched your search

@@ -17,7 +17,7 @@ class App : Application() {
override fun onCreate() {
super.onCreate()
runCatching { EnhancedSessionLogShare.cleanupAbandonedStages(this) }
Thread({ runCatching { EnhancedSessionLogShare.cleanupAbandonedStages(this) } }, "diagnostic-stage-cleanup").start()
com.droiddeck.launcher.ui.Themes.loadGradient(this)
com.droiddeck.launcher.ui.BuildWatermark.install(this)
HomeApp.trackRecents(this)