Refactored StateManager logs
- Make the log permanaent behind a DEBUG flag - Logs are currently enabled with b/279059025 marked as the related bug Bug: 279059025 Flag: None Test: Manual Change-Id: I60a75d73d40d00e7d42292f3d42cc9dd8c9b0825
This commit is contained in:
1 parent
3a42f0e0eb
commit
4e6e1555c4
4 files changed
+37
-25
No files matched your search
@@ -31,7 +31,6 @@ import android.annotation.TargetApi;
|
||||
import android.content.Context;
|
||||
import android.os.Build;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.Log;
|
||||
import android.view.MotionEvent;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
@@ -45,7 +44,6 @@ import com.android.launcher3.statehandlers.DepthController;
|
||||
import com.android.launcher3.statehandlers.DesktopVisibilityController;
|
||||
import com.android.launcher3.statemanager.StateManager;
|
||||
import com.android.launcher3.statemanager.StateManager.StateListener;
|
||||
import com.android.launcher3.testing.shared.TestProtocol;
|
||||
import com.android.launcher3.uioverrides.QuickstepLauncher;
|
||||
import com.android.launcher3.util.PendingSplitSelectInfo;
|
||||
import com.android.launcher3.util.SplitConfigurationOptions;
|
||||
@@ -187,8 +185,6 @@ public class LauncherRecentsView extends RecentsView<QuickstepLauncher, Launcher
|
||||
@Override
|
||||
public void setOverviewStateEnabled(boolean enabled) {
|
||||
super.setOverviewStateEnabled(enabled);
|
||||
Log.d(TestProtocol.OVERVIEW_OVER_HOME, "overview state enabled state has changed: "
|
||||
+ enabled);
|
||||
if (enabled) {
|
||||
LauncherState state = mActivity.getStateManager().getState();
|
||||
boolean hasClearAllButton = (state.getVisibleElements(mActivity)
|
||||
|
||||
Reference in new issue
Block a user