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
8 files changed
tree: d25aed1097b55371315b13b181f8b40680b5b84f
  1. aconfig/
  2. java/
  3. tests/
  4. Android.bp
  5. AndroidManifest-app.xml
  6. AndroidManifest-lib.xml
  7. OWNERS
  8. PREUPLOAD.cfg
  9. proguard.flags
  10. README.md
  11. TEST_MAPPING
README.md

IntentResolver

About

IntentResolver provides the implementation for Intent ACTION_CHOOSER

See also: ShareCompat.IntentBuilder