commit | d24b4164f1b8f4fb9378463b0ca87fcb288a18d4 | [log] [tgz] |
---|---|---|
author | Andrey Epin <ayepin@google.com> | Sat Mar 16 17:43:34 2024 -0700 |
committer | Andrey Epin <ayepin@google.com> | Tue Mar 19 15:07:42 2024 -0700 |
tree | f3a7b87177977037503b7bfba3e184156c7a99bb | |
parent | ca4cdfeeff66ac180e75fdd59b448375caa56cd5 [diff] |
Fix erroneous selection callback invocation. Setting the initial selection was treated as a selection change and caused the selection callback invocation. Fixed by making PreviewsSelectionRepository and TargetIntentRepository publishing annotated statuses that allow their clients to avoid performing unnecessary actions. Fix: 330000366 Test: atest IntentResolver-tests-unit Test: verified with an injected logging Change-Id: I1d8bee97ebf0ecaf9db98988a96af887ee0d9cd7
IntentResolver
provides the implementation for Intent ACTION_CHOOSER
See also: ShareCompat.IntentBuilder