Remove tracing for fixed bugs

Bug: 129434166
Bug: 131170582
Change-Id: Ia9b356594001d96c69ffbb7f8b767b2f54ed5feb
This commit is contained in:
vadimt
2019-05-01 16:10:56 -07:00
parent dffb214d0f
commit 8649cf29e4
16 changed files with 14 additions and 155 deletions

View File

@@ -233,11 +233,6 @@ public abstract class AbstractStateChangeTouchController
@Override
public void onDragStart(boolean start) {
if (com.android.launcher3.TestProtocol.sDebugTracing) {
android.util.Log.d(com.android.launcher3.TestProtocol.NO_DRAG_TAG,
"AbstractStateChangeTouchController.onDragStart() called with: start = [" +
start + "]");
}
mStartState = mLauncher.getStateManager().getState();
if (mStartState == ALL_APPS) {
mStartContainerType = LauncherLogProto.ContainerType.ALLAPPS;
@@ -269,11 +264,6 @@ public abstract class AbstractStateChangeTouchController
public boolean onDrag(float displacement) {
float deltaProgress = mProgressMultiplier * (displacement - mDisplacementShift);
float progress = deltaProgress + mStartProgress;
if (com.android.launcher3.TestProtocol.sDebugTracing) {
android.util.Log.d(com.android.launcher3.TestProtocol.NO_DRAG_TAG,
"AbstractStateChangeTouchController.onDrag() called with: displacement = [" +
displacement + "], progress = [" + progress + "]");
}
updateProgress(progress);
boolean isDragTowardPositive = mSwipeDirection.isPositive(
displacement - mDisplacementShift);
@@ -393,12 +383,6 @@ public abstract class AbstractStateChangeTouchController
? MIN_PROGRESS_TO_ALL_APPS : SUCCESS_TRANSITION_PROGRESS;
targetState = (interpolatedProgress > successProgress) ? mToState : mFromState;
}
if (com.android.launcher3.TestProtocol.sDebugTracing) {
android.util.Log.d(com.android.launcher3.TestProtocol.NO_DRAG_TAG,
"AbstractStateChangeTouchController.onDragEnd() called with: velocity = [" +
velocity + "], fling = [" + fling + "], target state: " +
targetState.getClass().getSimpleName());
}
final float endProgress;
final float startProgress;