Enable predictive back in TAPL tests
With ag/26349940 we have fixed the bug where back swipe is not working Fix: 326118348 Test: this is the test Flag: NONE Change-Id: I7e826f6ba3022a04d016d4a0a2134e287d85e8be
This commit is contained in:
@@ -20,7 +20,6 @@ import static com.android.launcher3.util.TestUtil.expectFail;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assume.assumeFalse;
|
||||
import static org.junit.Assume.assumeTrue;
|
||||
|
||||
import android.content.Intent;
|
||||
@@ -29,7 +28,6 @@ import android.platform.test.annotations.PlatinumTest;
|
||||
import androidx.test.filters.FlakyTest;
|
||||
import androidx.test.platform.app.InstrumentationRegistry;
|
||||
|
||||
import com.android.launcher3.Flags;
|
||||
import com.android.launcher3.LauncherState;
|
||||
import com.android.launcher3.tapl.AllApps;
|
||||
import com.android.launcher3.ui.AbstractLauncherUiTest;
|
||||
@@ -199,7 +197,6 @@ public class TaplOpenCloseAllAppsTest extends AbstractLauncherUiTest {
|
||||
public void testPressBackFromAllAppsToHome() {
|
||||
InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(
|
||||
READ_DEVICE_CONFIG_PERMISSION);
|
||||
assumeFalse(Flags.enablePredictiveBackGesture());
|
||||
mLauncher
|
||||
.getWorkspace()
|
||||
.switchToAllApps()
|
||||
|
||||
Reference in New Issue
Block a user