diff options
| author | 2022-11-10 16:32:39 -0500 | |
|---|---|---|
| committer | 2022-11-11 21:54:00 +0000 | |
| commit | 44b7053c23b2aa9ff5762e3fa67d1b1e4b28b24f (patch) | |
| tree | 82a7c7906c8d0d43e834a566aba5c6b70901b55b /java/tests/src | |
| parent | e2463f3c11eeeb58ea3966b7872201c47a688bbb (diff) | |
Extract ChooserActivity "content preview" logic.
This is sort of a crude first pass at pulling out a batch of related
methods with a similar overall structure that's reasonably
self-contained (modulo the new delegate interfaces introduced in this
CL). No attempt was made at introducing new abstractions for the
preview; this follows the factory methods that were already present
in ChooserActivity. Other methods that remain in ChooserActivity may
be better fit for migration to the new component, pending further
design work that's out-of-scope for this CL.
Test: atest IntentResolverUnitTests
Bug: 202167050
Change-Id: Ieacffb3d184e60609a1a5e75542358a765e59ae3
Diffstat (limited to 'java/tests/src')
| -rw-r--r-- | java/tests/src/com/android/intentresolver/ChooserActivityLoggerTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/tests/src/com/android/intentresolver/ChooserActivityLoggerTest.java b/java/tests/src/com/android/intentresolver/ChooserActivityLoggerTest.java index a93718fd..702e725a 100644 --- a/java/tests/src/com/android/intentresolver/ChooserActivityLoggerTest.java +++ b/java/tests/src/com/android/intentresolver/ChooserActivityLoggerTest.java @@ -74,7 +74,7 @@ public final class ChooserActivityLoggerTest { final int appProvidedDirectTargets = 123; final int appProvidedAppTargets = 456; final boolean workProfile = true; - final int previewType = ChooserActivity.CONTENT_PREVIEW_FILE; + final int previewType = ChooserContentPreviewUi.CONTENT_PREVIEW_FILE; final String intentAction = Intent.ACTION_SENDTO; mChooserLogger.logShareStarted( |