summaryrefslogtreecommitdiff
path: root/aconfig
diff options
context:
space:
mode:
author Andrey Yepin <ayepin@google.com> 2024-08-07 11:22:19 -0700
committer Andrey Yepin <ayepin@google.com> 2024-08-13 14:35:47 -0700
commite70191e44f659a10e913ffb20335c959bf43a39c (patch)
treebfc6f44a431903de0cad9e4a4dbbd8d5f85b0f45 /aconfig
parent35f0119787662f8d742aac4eb17d0992f78a4254 (diff)
Use nested scope for ShortcutLoader
Use a nested coroutine scope for each ShortcutLoader instance and close it when the instance is stopped being used. Fix: 358135601 Test: atest IntentResolver-tests-unit Test: manual testing checking the logs Flag: com.android.intentresolver.fix_shortcut_loader_job_leak Change-Id: I84bbca75612f153193b03e24bfc0cb8842a8d3e2
Diffstat (limited to 'aconfig')
-rw-r--r--aconfig/FeatureFlags.aconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/aconfig/FeatureFlags.aconfig b/aconfig/FeatureFlags.aconfig
index 87a584c9..07ef198f 100644
--- a/aconfig/FeatureFlags.aconfig
+++ b/aconfig/FeatureFlags.aconfig
@@ -77,6 +77,16 @@ flag {
}
flag {
+ name: "fix_shortcut_loader_job_leak"
+ namespace: "intentresolver"
+ description: "User a nested coroutine scope for shortcut loader instances"
+ bug: "358135601"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
+
+flag {
name: "preview_image_loader"
namespace: "intentresolver"
description: "Use the unified preview image loader for all preview variations; support variable preview sizes."