Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f132bd7d authored by vadimt's avatar vadimt
Browse files

Adding a comment for goHome()

Bug: 187761685
Test: presubmit
Change-Id: I2917daa90f22cc0da0169c287b02cc4cf37a8f4b
parent 8e669056
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -893,7 +893,14 @@ public final class LauncherInstrumentation {
    }

    /**
     * Presses nav bar home button.
     * Goes to home by swiping up in zero-button mode or pressing Home button.
     * Calling it after another TAPL call is safe because all TAPL methods wait for the animations
     * to finish.
     * When calling it after a non-TAPL method, make sure that all animations have already
     * completed, otherwise it may detect the current state (for example "Application" or "Home")
     * incorrectly.
     * The method expects either app or Launcher to be active when it's called. Other states, such
     * as visible notification shade are not supported.
     *
     * @return the Workspace object.
     */
@@ -1894,6 +1901,7 @@ public final class LauncherInstrumentation {

    /**
     * Taps outside container to dismiss.
     *
     * @param container container to be dismissed
     * @param tapRight  tap on the right of the container if true, or left otherwise
     */