Moving view capture dump to a service to allow longer timeout
Bug: 243827665 Test: Verified on device Change-Id: I7273cc14d86620b52aaf71c7ea293bd643d881f9
This commit is contained in:
1 parent
168482688a
commit
f2c6bf8346
4 files changed
+249
-182
No files matched your search
@@ -119,10 +119,12 @@ import com.android.launcher3.util.ObjectWrapper;
|
||||
import com.android.launcher3.util.PendingRequestArgs;
|
||||
import com.android.launcher3.util.PendingSplitSelectInfo;
|
||||
import com.android.launcher3.util.RunnableList;
|
||||
import com.android.launcher3.util.SafeCloseable;
|
||||
import com.android.launcher3.util.SplitConfigurationOptions.SplitPositionOption;
|
||||
import com.android.launcher3.util.TouchController;
|
||||
import com.android.launcher3.util.UiThreadHelper;
|
||||
import com.android.launcher3.util.UiThreadHelper.AsyncCommand;
|
||||
import com.android.launcher3.util.ViewCapture;
|
||||
import com.android.launcher3.widget.LauncherAppWidgetHost;
|
||||
import com.android.quickstep.OverviewCommandHelper;
|
||||
import com.android.quickstep.RecentsModel;
|
||||
@@ -191,6 +193,8 @@ public class QuickstepLauncher extends Launcher {
|
||||
*/
|
||||
private PendingSplitSelectInfo mPendingSplitSelectInfo = null;
|
||||
|
||||
private SafeCloseable mViewCapture;
|
||||
|
||||
@Override
|
||||
protected void setupViews() {
|
||||
super.setupViews();
|
||||
@@ -404,6 +408,7 @@ public class QuickstepLauncher extends Launcher {
|
||||
|
||||
super.onDestroy();
|
||||
mHotseatPredictionController.destroy();
|
||||
mViewCapture.close();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -503,6 +508,7 @@ public class QuickstepLauncher extends Launcher {
|
||||
}
|
||||
addMultiWindowModeChangedListener(mDepthController);
|
||||
initUnfoldTransitionProgressProvider();
|
||||
mViewCapture = ViewCapture.INSTANCE.get(this).startCapture(getWindow());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user