diff options
| author | 2023-03-06 12:01:27 -0800 | |
|---|---|---|
| committer | 2023-03-08 14:36:46 -0800 | |
| commit | 21ab7fb0b67fe3b5c16fc26b5cf6d016bfc0e248 (patch) | |
| tree | 41bc2e3dc46c75de837209fda0e64e23c85c357f /java/src-debug/com | |
| parent | d9a9fbb83491c6a25f9fd9217e5c2425831e5284 (diff) | |
Split ChooserContentPreviewUi into multiple components
A prep step for the new preview UI: extract each preview logic from
ChooserContentPreviewUi into individual components leaving the former as
a facade for the latter.
More specifically:
* move ChooserContnetPreviewUi into a new package;
* make #displayTextContentPreview() to be the core of the
TextContentPreviewUI (with related methods);
* make #displayFileContentPreview() to be the core of the
FileContentPreviewUi (with related methods);
* make #displayImageContentPreview() to the core of the
ImageContentPreviewUi (with the related methods);
* for all aforementioned new components, pass component specific
dependencies as constructor arguments, capture the common component
contract in the base abstract class, ContentPreviewUi, along with the
static utility methods.
Bug: 271613784
Test: Manual testing of
* Text sharing with and without preview;
* File sharing with and without preivew, single file and multiple
fiels;
* Image sharing, single and multiple files, image + text sharing;
* Custom actions with text, image and files sharing;
* Reselection action with text, image and files sharing.
Test: screenshot transition animation
Test: atest IntentResolverUnitTests
Change-Id: I392de610b3d3e044e23c83d29fd11061fbc7192d
Diffstat (limited to 'java/src-debug/com')
0 files changed, 0 insertions, 0 deletions