Wait a bit longer to take screenshot
We changed the duration of the dialog animation, so we also need to wait a bit longer to take a screenshot. Fixes: 153876810 Test: visual Change-Id: Ia0e76d046603bb0014f182f8ffbe0e0da8ce0f39
This commit is contained in:
@@ -1638,7 +1638,7 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
|
||||
private static final int MESSAGE_REFRESH = 1;
|
||||
private static final int MESSAGE_SHOW = 2;
|
||||
private static final int DIALOG_DISMISS_DELAY = 300; // ms
|
||||
private static final int DIALOG_PRESS_DELAY = 500; // ms
|
||||
private static final int DIALOG_PRESS_DELAY = 850; // ms
|
||||
|
||||
@VisibleForTesting void setZeroDialogPressDelayForTesting() {
|
||||
mDialogPressDelay = 0; // ms
|
||||
|
||||
Reference in New Issue
Block a user