Enable testQuickSwitchFromApp after fixing what caused it to fail

Bug: 143285809
Change-Id: Ic7895ab7d4ef3ab207fc77184eb53f0f6d8e9b23
This commit is contained in:
vadimt 2020-02-13 16:09:35 -08:00
parent 88ea05ad39
commit 3a49aa090f
2 changed files with 2 additions and 5 deletions

View File

@ -180,7 +180,7 @@ public class RecentsAnimationDeviceState implements
mDefaultDisplay.addChangeListener(this);
}
if (mMode == NO_BUTTON) {
if (newMode == NO_BUTTON) {
mExclusionListener.register();
} else {
mExclusionListener.unregister();

View File

@ -47,7 +47,6 @@ import com.android.quickstep.views.RecentsView;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
@ -259,10 +258,8 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest {
@Test
@NavigationModeSwitch
@PortraitLandscape
// b/143285809 Remove @Stability on 02/21/20 if the test doesn't flake.
// b/143285809 Remove @Stability on 02/27/20 if the test doesn't flake.
@TestStabilityRule.Stability(flavors = LOCAL | UNBUNDLED_POSTSUBMIT)
// b/143285809
@Ignore
public void testQuickSwitchFromApp() throws Exception {
startTestActivity(2);
startTestActivity(3);