Decouple initialization from framework lifecycle call chain

This change decouples onCreate from the actual work of
setting up the application, while maintaining independent
function of ResolverActivity.

This allows deferring initialization work until returning from
super.onCreate, when injected members are available.

Bug: 300157408
Bug: 302113519
Test: atest IntentResolverUnitTests#ResolverActivityTest
Change-Id: I8ed34f44d4040dce8a1292f1490fe2e724dc8473
2 files changed
tree: e365e10b21405ee4b0b01909e7fa9fd67b185f2c
  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