Creates ChooserHelper, a peer class for code cleanup

This is a peer class to ChooserActivity to incrementally assume the
tasks of initialization. Code moved through this class will have
carefully controlled rules (documented in the class) for control and
data flow to prevent additional tangles.

This commit makes only a single control flow change, forwarding the
call to ChooserActivity#init through this class. This makes no change
to functionality yet, but provides a hook for following CLs.

Bug: 309960444
Test: atest com.android.intentresolver
Change-Id: I4d895adb00a09a9d18117639b2d85e3fe880e067
2 files changed
tree: 9683376246ba8a91e4b04cb33e1c675edabc71ac
  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