diff --git a/quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java b/quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java index 0954a84f50..6eec7d59e1 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.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(); } diff --git a/quickstep/src/com/android/quickstep/recents/di/RecentsDependencies.kt b/quickstep/src/com/android/quickstep/recents/di/RecentsDependencies.kt index 977629f51a..d2f10b63ad 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 @@ 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.", ) } }