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

Commit 8863b57e authored by Jason Monk's avatar Jason Monk
Browse files

Fix incorrect Activity#startLockTask doc

It referenced a swipe down gesture that doesn't exist.  This should
be more safe, and cover other devices as well.

Bug: 16626273
Change-Id: I907b25a00d903f9f36ca335d3a75c1f8f931d50e
parent ed1391a9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -6077,9 +6077,9 @@ public class Activity extends ContextThemeWrapper
     *
     * If {@link DevicePolicyManager#isLockTaskPermitted(String)} returns false
     * then the system will prompt the user with a dialog requesting permission to enter
     * this mode.  When entered through this method the user can exit at any time by
     * swiping down twice from the top of the screen.  Calling stopLockTask will also
     * exit the mode.
     * this mode.  When entered through this method the user can exit at any time through
     * an action described by the request dialog.  Calling stopLockTask will also exit the
     * mode.
     */
    public void startLockTask() {
        try {