Revert "Adding logs to debug test failures"
This reverts commit 4151c1eb9ae2c43302e7c586f992a7612016f98b.
Reason for revert: These logs are no longer necessary.
Change-Id: Ic0c8e8ba148f0103ca8001dfec2b3dc031973dab
diff --git a/quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java b/quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java
index 0954a84..6eec7d5 100644
--- a/quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java
+++ b/quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java
@@ -86,7 +86,6 @@
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 @@
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 @@
@Override
public void onDestroy() {
- Log.d(TRACKING_BUG, "onDestroy: " + this.hashCode());
if (mAppTransitionManager != null) {
mAppTransitionManager.onActivityDestroyed();
}
@@ -591,10 +588,7 @@
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 @@
@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 @@
@Override
protected void onResume() {
super.onResume();
- Log.d(TRACKING_BUG, "onResume: " + this.hashCode());
+
if (mLauncherUnfoldAnimationController != null) {
mLauncherUnfoldAnimationController.onResume();
}
@@ -872,7 +865,6 @@
@Override
protected void onStop() {
super.onStop();
- Log.d(TRACKING_BUG, "onStop: " + this.hashCode());
if (mTaskbarUIController != null && FeatureFlags.enableHomeTransitionListener()) {
mTaskbarUIController.onLauncherStop();
}
diff --git a/quickstep/src/com/android/quickstep/recents/di/RecentsDependencies.kt b/quickstep/src/com/android/quickstep/recents/di/RecentsDependencies.kt
index 977629f..d2f10b6 100644
--- a/quickstep/src/com/android/quickstep/recents/di/RecentsDependencies.kt
+++ b/quickstep/src/com/android/quickstep/recents/di/RecentsDependencies.kt
@@ -237,7 +237,7 @@
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 @@
Log.d(
TAG,
"RecentsDependencies was not destroyed. " +
- "There is still an active RecentsView instance: $activeRecentsCount",
+ "There is still an active RecentsView instance.",
)
}
}