From 44b7053c23b2aa9ff5762e3fa67d1b1e4b28b24f Mon Sep 17 00:00:00 2001 From: Joshua Trask Date: Thu, 10 Nov 2022 16:32:39 -0500 Subject: 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 --- .../tests/src/com/android/intentresolver/ChooserActivityLoggerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/tests') 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( -- cgit v1.2.3-59-g8ed1b