commit | 99c9828d732ff25c87e8b41e386131dae70b4652 | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Wed Jan 10 08:47:19 2024 -0500 |
committer | Mark Renouf <mrenouf@google.com> | Wed Jan 10 14:36:15 2024 +0000 |
tree | d25aed1097b55371315b13b181f8b40680b5b84f | |
parent | 6d0e03bb3eba2bfea7ac63755f390ca88a4b7faa [diff] |
Removes TargetDataLoader from adapter factory method chain TargetDataLoader is removed from ActivityLogic since it is now only used via direct constructor call by ResolverActivity, and injected directly to a field of ChooserActivity. Since it is only needed to pass to the ChooserListAdapter or ResolverListAdapter constructor, this removes the parameter from being forwarded through a sequence of functions and instead references the injected parameter directly when calling the contructor. This allows smoother transition to an assisted-inject factory. Bug: 300157408 Test: atest IntentResolver-tests-activity:com.android.intentresolver.v2 Change-Id: I18b230eaf97bf8e26e23e2e1cd1372e7d078520f
IntentResolver
provides the implementation for Intent ACTION_CHOOSER
See also: ShareCompat.IntentBuilder