Merge "Calling sendStateEventToTest() from a place guaranteed to be called" into ub-launcher3-qt-dev

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2019-06-12 00:12:08 +00:00
commit c1fa3abd2e
3 files changed
+3 -5

No files matched your search

@@ -61,7 +61,6 @@ import com.android.launcher3.allapps.DiscoveryBounce;
import com.android.launcher3.anim.AnimatorPlaybackController;
import com.android.launcher3.anim.AnimatorSetBuilder;
import com.android.launcher3.anim.SpringObjectAnimator;
import com.android.launcher3.compat.AccessibilityManagerCompat;
import com.android.launcher3.testing.TestProtocol;
import com.android.launcher3.userevent.nano.LauncherLogProto;
import com.android.launcher3.views.FloatingIconView;
@@ -216,8 +215,6 @@ public final class LauncherActivityControllerHelper implements ActivityControlHe
// Optimization, hide the all apps view to prevent layout while initializing
activity.getAppsView().getContentView().setVisibility(View.GONE);
AccessibilityManagerCompat.sendStateEventToTest(activity, fromState.ordinal);
return new AnimationFactory() {
private Animator mShelfAnim;
private ShelfAnimState mShelfState;