Jump to content
Slion

Lock phone when closing slider

Recommended Posts

Could we have a slider setting entry to optionally lock the phone when closing it?

  • Like 2

Share this post


Link to post
Share on other sites

You can do this pretty trivially with Tasker.

Profile:

* State: Keyboard out

* add an innocuous task as the normal task

* Add an exit task which has a step of Display -> System Lock.

 

You need the exit task (as opposed to just inverting the state check) to be sure it doesn't constantly trigger.

  • Thanks 5

Share this post


Link to post
Share on other sites

Not sure how to add an exit task though invert seems to work fine.

Moreover once locked it can't be unlocked using the fingerprint and needs the pin.

Edited by Slion

Share this post


Link to post
Share on other sites

Very much like "The Beast" (Nokia N900). You could lock/unlock that in a number of ways.
Little toggle button on the side.
Pressing the power switch brings up the "Slide to unlock". A double press locked the phone
Opening and closing the slider locked/unlocked the phone.
Sliding open the camera cover unlocked the phone and started the camera app.
You could even unlock the phone by waving a magnet over the screen. This made the phone unsuitable for cases with magnetic clasps.

  • Like 3

Share this post


Link to post
Share on other sites
24 minutes ago, Slion said:

Not sure how to add an exit task though invert seems to work fine.

Long press on the "normal" task part of the profile, and you should have an option in that menu to "Add Exit Task".

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Terms