Increase spring loaded hover time for tests since we switch pages too quickly leading to flakiness
Bug: 344982276 Test: TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible Flag: TEST_ONLY Change-Id: I2d187e37ee33f25b9b672beb3efb91300d96cab3
This commit is contained in:
@@ -26,7 +26,7 @@ import com.android.launcher3.Workspace;
|
||||
public class SpringLoadedDragController implements OnAlarmListener {
|
||||
// how long the user must hover over a mini-screen before it unshrinks
|
||||
private static final long ENTER_SPRING_LOAD_HOVER_TIME = 500;
|
||||
private static final long ENTER_SPRING_LOAD_HOVER_TIME_IN_TEST = 2000;
|
||||
private static final long ENTER_SPRING_LOAD_HOVER_TIME_IN_TEST = 3000;
|
||||
private static final long ENTER_SPRING_LOAD_CANCEL_HOVER_TIME = 950;
|
||||
|
||||
Alarm mAlarm;
|
||||
|
||||
Reference in New Issue
Block a user