ResolverListAdapter: Switch `Handler`->`Executor`

With the new `mDestroyed` bookkeeping in ag/24854314, we no longer
need the richer (but less-testable/etc) API of a `Handler`.

In the first snapshot, this retains the ad-hoc flow control mechanisms
that direct the `testPostListReadyAtEndOfRebuild_` tests to show the
direct before-and-after equivalence against the `Handler` model. All
the existing tests still pass on the new code.

The second snapshot removes those ad-hoc mechanisms because the tests
now have complete control of the execution via `TestExecutor`.

Bug: (general code cleanup)
Test: `IntentResolverUnitTests` / `CtsSharesheetDeviceTest`
Change-Id: I3063d45aedec47a81bf9bc7f76c26873de1383af
2 files changed
tree: 81552f4b60ebac17aaac22226ff06d4310b05a13
  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