commit | c2fcb4099bd4fad19d9bcff4ca197f0ab0c904a2 | [log] [tgz] |
---|---|---|
author | Joshua Trask <joshtrask@google.com> | Tue Sep 26 13:53:36 2023 +0000 |
committer | Joshua Trask <joshtrask@google.com> | Tue Sep 26 14:12:55 2023 +0000 |
tree | 81552f4b60ebac17aaac22226ff06d4310b05a13 | |
parent | 82df935c3d39e61eaf5fe0917bf94833bf37caec [diff] |
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
IntentResolver
provides the implementation for Intent ACTION_CHOOSER
See also: ShareCompat.IntentBuilder