EnterTransitionAnimationDelegate to track animation hold timeout
Make EnterTransitionAnimationDelegate to track transition animation hold
timeout instead of relying on image lading timeout in
ChooserContentPreviewCoordinator. As after removing timeout tracking
from the coordinator, not much functionality left in it, the following
collateral changes were made:
- ChooserContentPreviewUi$ContentPreviewCoordinator interface is
replaced with a new ImageLoader interface that defines both suspend
and callback methods for image loading by an URI;
- ImagePreviewImageLoader implements the new ImageLoader interface; all
image loading logic is moved from ChooserActivity and
ChooserContentPreviewCoordinator is moved into it,
ChooserContentPreviewCoordinator is removed.
Flag: IntentResolver package entirely behind the CHOOSER_UNBUNDLED which
is in teamfood
Bug: 262280076
Test: manual basic functionality test for all preview types with and
without work profile
Test: atest IntentResolverUnitTests
Change-Id: I310927e664e8de83d63472cc826665d36d994ed9
12 files changed