diff options
author | 2024-11-05 15:11:35 -0800 | |
---|---|---|
committer | 2024-11-06 08:36:12 -0800 | |
commit | 34f3b5d5992bf07674abb007a76f2b469e4e6ad8 (patch) | |
tree | c70f7a9d0832924b9c766f9bdba730d13510b0fc /aconfig | |
parent | 40389e404f72cb13f9632fa86cd0f13905f682ea (diff) |
Reload targets by recreating adapters in response to target pinning.
Use Shareousel's target list updating logic in response to target pinning
and application changed broadcasts. Create new adapters and attach them
to the views after data is loaded, resulting in a cleaner visual update.
Fix: 230703572
Test: manual testing
Test: atest IntentResolver-tests-unit
Flag: com.android.intentresolver.rebuild_adapters_on_target_pinning
Change-Id: I1e7e2fd820195134ec4940f2e76bf7b3eac9e086
Diffstat (limited to 'aconfig')
-rw-r--r-- | aconfig/FeatureFlags.aconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/aconfig/FeatureFlags.aconfig b/aconfig/FeatureFlags.aconfig index c23b51ae..e2b2f57b 100644 --- a/aconfig/FeatureFlags.aconfig +++ b/aconfig/FeatureFlags.aconfig @@ -117,6 +117,16 @@ flag { } flag { + name: "rebuild_adapters_on_target_pinning" + namespace: "intentresolver" + description: "Rebuild and swap adapters when a target gets (un)pinned to avoid flickering." + bug: "230703572" + metadata { + purpose: PURPOSE_BUGFIX + } +} + +flag { name: "target_hover_and_keyboard_focus_states" namespace: "intentresolver" description: "Adopt Launcher pointer hover and keyboard novigation focus effects for targets." |