Starts splitting the Chooser and Resolver logic

Creates two new interfaces that house previous activity logic:
CommonActivityLogic and ActivityLogic, which extends it. Also creates
a concrete instantiation of CommonActivityLogic and two concrete
instantiations of ActivityLogic (one for each activity). The concreate
ActivityLogic classes delegate to the concrete CommonActivityLogic for
that interface surface.

The intent is for these classes to act as a scaffolding for separating
the Chooser and Resolver activities.

Test: atest com.android.intentresolver.v2
BUG:302113519
Change-Id: I82084aad2d7f759763cf6a77c1bebbb3d3f82c5c
5 files changed
tree: 12f46b4c91dc36d99fe54846cb7458fc25241e4d
  1. aconfig/
  2. java/
  3. .clang-format
  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