Revert "Adding logs to debug test failures"

This reverts commit 4151c1eb9a.

Reason for revert: These logs are no longer necessary.

Change-Id: Ic0c8e8ba148f0103ca8001dfec2b3dc031973dab
This commit is contained in:
Jordan Silva
2025-02-12 05:56:12 -08:00
parent 4151c1eb9a
commit 55e3fcfb4e
2 changed files with 3 additions and 11 deletions

View File

@@ -86,7 +86,6 @@ import android.os.SystemProperties;
import android.os.Trace;
import android.os.UserHandle;
import android.util.AttributeSet;
import android.util.Log;
import android.view.Display;
import android.view.HapticFeedbackConstants;
import android.view.KeyEvent;
@@ -249,7 +248,6 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
private SplitWithKeyboardShortcutController mSplitWithKeyboardShortcutController;
private SplitToWorkspaceController mSplitToWorkspaceController;
private BubbleBarLocation mBubbleBarLocation;
private static final String TRACKING_BUG = "b/395214062";
/**
* If Launcher restarted while in the middle of an Overview split select, it needs this data to
@@ -565,7 +563,6 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
@Override
public void onDestroy() {
Log.d(TRACKING_BUG, "onDestroy: " + this.hashCode());
if (mAppTransitionManager != null) {
mAppTransitionManager.onActivityDestroyed();
}
@@ -591,10 +588,7 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
RecentsView recentsView = getOverviewPanel();
if (recentsView != null) {
Log.d(TRACKING_BUG, "onDestroy - recentsView.destroy(): " + this.hashCode());
recentsView.destroy();
} else {
Log.d(TRACKING_BUG, "onDestroy - recentsView is null: " + this.hashCode());
}
super.onDestroy();
@@ -723,7 +717,6 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Log.d(TRACKING_BUG, "onCreate: " + this.hashCode());
if (savedInstanceState != null) {
mPendingSplitSelectInfo = ObjectWrapper.unwrap(
savedInstanceState.getIBinder(PENDING_SPLIT_SELECT_INFO));
@@ -837,7 +830,7 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
@Override
protected void onResume() {
super.onResume();
Log.d(TRACKING_BUG, "onResume: " + this.hashCode());
if (mLauncherUnfoldAnimationController != null) {
mLauncherUnfoldAnimationController.onResume();
}
@@ -872,7 +865,6 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
@Override
protected void onStop() {
super.onStop();
Log.d(TRACKING_BUG, "onStop: " + this.hashCode());
if (mTaskbarUIController != null && FeatureFlags.enableHomeTransitionListener()) {
mTaskbarUIController.onLauncherStop();
}

View File

@@ -237,7 +237,7 @@ class RecentsDependencies private constructor(private val appContext: Context) {
fun initialize(view: View): RecentsDependencies = initialize(view.context)
fun initialize(context: Context): RecentsDependencies {
Log.d(TAG, "initializing: $activeRecentsCount + 1 more")
Log.d(TAG, "initializing")
synchronized(this) {
activeRecentsCount++
instance = RecentsDependencies(context.applicationContext)
@@ -277,7 +277,7 @@ class RecentsDependencies private constructor(private val appContext: Context) {
Log.d(
TAG,
"RecentsDependencies was not destroyed. " +
"There is still an active RecentsView instance: $activeRecentsCount",
"There is still an active RecentsView instance.",
)
}
}