Narrow dependencies to actual used data

Currently PreviewViewModel uses only the targetIntent. This change
narrows the dependencies to that specific value to reduce coupling
and aid cleanup efforts.

Bug: 300157408
Test: atest com.android.intentresolver
Change-Id: I63ceda3c460f039939a4193970ee4fe078a96467
4 files changed
tree: def5fb1e733614ca3b46f28fd692f6e62b947d02
  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