From e07068a0c9b58b6253e68f7b5899f91c7c5af18c Mon Sep 17 00:00:00 2001 From: randypfohl Date: Tue, 17 Oct 2023 11:40:06 -0700 Subject: [PATCH] Removing obselete logging used for flaky test investigation Bug: 293191790 Test: not needed. Flag: not needed. Change-Id: I0378c1cc16ae25006d226db3b858394e5f20a22b --- quickstep/src/com/android/quickstep/RecentsActivity.java | 3 --- quickstep/src/com/android/quickstep/TaskAnimationManager.java | 4 ---- quickstep/src/com/android/quickstep/views/RecentsView.java | 2 -- .../com/android/launcher3/testing/shared/TestProtocol.java | 1 - 4 files changed, 10 deletions(-) diff --git a/quickstep/src/com/android/quickstep/RecentsActivity.java b/quickstep/src/com/android/quickstep/RecentsActivity.java index 3c7fbf0877..38e896ec06 100644 --- a/quickstep/src/com/android/quickstep/RecentsActivity.java +++ b/quickstep/src/com/android/quickstep/RecentsActivity.java @@ -37,7 +37,6 @@ import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.os.Trace; -import android.util.Log; import android.view.Display; import android.view.RemoteAnimationAdapter; import android.view.RemoteAnimationTarget; @@ -68,7 +67,6 @@ import com.android.launcher3.statemanager.StateManager.StateHandler; import com.android.launcher3.statemanager.StatefulActivity; import com.android.launcher3.taskbar.FallbackTaskbarUIController; import com.android.launcher3.taskbar.TaskbarManager; -import com.android.launcher3.testing.shared.TestProtocol; import com.android.launcher3.util.ActivityOptionsWrapper; import com.android.launcher3.util.ActivityTracker; import com.android.launcher3.util.RunnableList; @@ -418,7 +416,6 @@ public final class RecentsActivity extends StatefulActivity { } public void startHome() { - Log.d(TestProtocol.INCORRECT_HOME_STATE, "start home from recents activity"); RecentsView recentsView = getOverviewPanel(); recentsView.switchToScreenshot(() -> recentsView.finishRecentsAnimation(true, this::startHomeInternal)); diff --git a/quickstep/src/com/android/quickstep/TaskAnimationManager.java b/quickstep/src/com/android/quickstep/TaskAnimationManager.java index 4b47209abd..3e2bc8c9cc 100644 --- a/quickstep/src/com/android/quickstep/TaskAnimationManager.java +++ b/quickstep/src/com/android/quickstep/TaskAnimationManager.java @@ -38,7 +38,6 @@ import androidx.annotation.UiThread; import com.android.launcher3.Utilities; import com.android.launcher3.config.FeatureFlags; -import com.android.launcher3.testing.shared.TestProtocol; import com.android.launcher3.util.DisplayController; import com.android.quickstep.TopTaskTracker.CachedTaskInfo; import com.android.quickstep.util.ActiveGestureLog; @@ -181,9 +180,6 @@ public class TaskAnimationManager implements RecentsAnimationCallbacks.RecentsAn RecentsView recentsView = activityInterface.getCreatedActivity().getOverviewPanel(); if (recentsView != null) { - Log.d(TestProtocol.INCORRECT_HOME_STATE, - "finish recents animation on " - + compat.taskInfo.description); recentsView.finishRecentsAnimation(true, null); } return; diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index ef908c59fc..0a195c3075 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -5270,8 +5270,6 @@ public abstract class RecentsView