commit | 38a6a7637ed22bed196ede400ff72fea5407b17b | [log] [tgz] |
---|---|---|
author | Steve Elliott <steell@google.com> | Tue Mar 26 17:36:06 2024 -0400 |
committer | Steve Elliott <steell@google.com> | Thu Mar 28 15:42:29 2024 -0400 |
tree | 8799dd7642290f759083546f7c0bd36344b87acd | |
parent | 56c54af33d1e4a0e7d9215e90f8d5a6ba75b9ed6 [diff] |
Introduce ChooserRequestRepository - Replace TargetIntentRepository with ChooserRequestRepository, using the ChooserRequest as the source of truth for the target intent. - Caveat: custom actions are tracked separately to facilitate with testing; long-term we will want to update/replace ChooserRequest so that it isn't relying on un-mockable/un-fakeable types. - Remove concept of "initialization" from repositories. - Usages are better captured as "events", and so are handled in interactor codepaths that flow *into* the repositories. Bug: 302691505 Flag: ACONFIG android.service.chooser.chooser_payload_toggling DEVELOPMENT Test: atest IntentResolver-tests-unit Change-Id: I8451a495478dbe750a44e6b049d4751fa7badf81
IntentResolver
provides the implementation for Intent ACTION_CHOOSER
See also: ShareCompat.IntentBuilder