Waiting for wallpaper animation completion when configuring new widget

This will help to ensure that Launcher state has settled before continuing the test.

Bug: 313926097
Flag: N/A
Test: presubmit
Change-Id: Ice7ae8a2517d68c53d135a34cc33e11f3203f788
This commit is contained in:
Vadim Tryshev
2023-12-05 13:31:22 -08:00
parent dc7de0d9fb
commit 61434924f0
4 changed files with 28 additions and 3 deletions

View File

@@ -30,6 +30,8 @@ public final class TestProtocol {
public static final String FOLDER_OPENED_MESSAGE = "TAPL_FOLDER_OPENED";
public static final String SEARCH_RESULT_COMPLETE = "SEARCH_RESULT_COMPLETE";
public static final String LAUNCHER_ACTIVITY_STOPPED_MESSAGE = "TAPL_LAUNCHER_ACTIVITY_STOPPED";
public static final String WALLPAPER_OPEN_ANIMATION_FINISHED_MESSAGE =
"TAPL_WALLPAPER_OPEN_ANIMATION_FINISHED";
public static final int NORMAL_STATE_ORDINAL = 0;
public static final int SPRING_LOADED_STATE_ORDINAL = 1;
public static final int OVERVIEW_STATE_ORDINAL = 2;