Calling sendStateEventToTest() from a place guaranteed to be called

See discussion in the bug

Bug: 133867119
Change-Id: Id162cfa3b0a0aafe17dd9b41e2c4b5d02c411830
This commit is contained in:
vadimt
2019-06-10 18:01:58 -07:00
parent 5d8283a87d
commit 8f9cf2f38f
3 changed files with 3 additions and 5 deletions

View File

@@ -43,7 +43,6 @@ import com.android.launcher3.Utilities;
import com.android.launcher3.anim.AnimationSuccessListener;
import com.android.launcher3.anim.AnimatorPlaybackController;
import com.android.launcher3.anim.AnimatorSetBuilder;
import com.android.launcher3.compat.AccessibilityManagerCompat;
import com.android.launcher3.testing.TestProtocol;
import com.android.launcher3.userevent.nano.LauncherLogProto;
import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Direction;
@@ -541,7 +540,6 @@ public abstract class AbstractStateChangeTouchController
android.util.Log.e(
TestProtocol.NO_ALLAPPS_EVENT_TAG, "onSwipeInteractionCompleted 2");
}
AccessibilityManagerCompat.sendStateEventToTest(mLauncher, targetState.ordinal);
}
}