Lawnchair: Double tap to lock device

Created on 26 Jun 2017  路  25Comments  路  Source: LawnchairLauncher/lawnchair

Double tap on desktop to lock device

feature

Most helpful comment

We are still waiting this feature:( I'am Google Pixel owner and I've to stuck on Nova Launcher only because of this feature (cry)

screen timeout to 5secs and put a black screen meanwhile

This way works well, please add to Lawnchair

All 25 comments

https://github.com/VertexOS/android_packages_apps_Launcher3/commit/a30709ea01d3df9aa2c60ab692f16031a8036d08

This is the way PA does it in their (system-app) Launcher3, maybe it'll be of help.

Thanks @amirzaidi for the help, will add it in, but it will only work if the app is a system app

@deletescape You don't really need to use the app as a system app.. You could use the Device Administrator option like Nova Launcher does:

http://imgur.com/a/QiLHf

Thanks for the heads up @alexandrumarcel I will definetly provide an implementation of some kind

I already implemented something like this in the launcher as a personal test. I still have some issues with it and will polish it some more. If you want, when I finish, I can push to git and you can test it. Problem is: I am using root, and was thinking of using device admin for non rooted devices.

@Trak-X if you are able to get a functional implementation for rooted / non-rooted users I'd appreciate a PR!

Ok. Will add both and let you know when done. Should not be too long.

+1

Was this implemented in the 818 build? If yes mine not working. RR Z00A

@kobiandy Is this issue ticket closed? No. Thus it wasn't implemented.

@Trak-X Hi, how's the development going? Can we have this option soon ?, thank you.

gib clay

Not yet, sorry. Until i don't get a good solution for rooted and unrooted devices, i will not submit a pull request.

Sorry for the delay. So many things on my head right now.

guys i am also want double tap to lock gesture on lawnchair............

I added dt to lock on my launcher
You can use my code if you want
https://github.com/enricocid/LaunchEnr

Look at simplegestures, workspace, admin XML...

I recommend also adding the non root, fingerprint-reader friendly, lock method: when you dt, change the screen timeout to 5secs and put a black screen meanwhile. Because device admin kills fingerprint unlocking. Nova, Evie and many launchers can use this method too :)

We are still waiting this feature:( I'am Google Pixel owner and I've to stuck on Nova Launcher only because of this feature (cry)

screen timeout to 5secs and put a black screen meanwhile

This way works well, please add to Lawnchair

screen timeout to 5secs and put a black screen meanwhile +1

Also came here in search for this feature I got very used to, using Evie.

The black screen thing always worked perfect for me on my unrooted Moto Z (with fingerprint)

Would make your awesome launcher perfect!

PS: just want to say, I'm really impressed how development improved! I used it shortly after it first appeared in my newsfeed and just came back. Boy, what a change!

So, is this still in plan?

@rini94 Yes, but right now we are busy finalizing v1 :)

+1 I dont use Lawnchair only because Lawnchair doesnt have this feauture. Please add!

waiting for this feature

@axis0093 This feature is already present in v1 and in v2 as well.

@abhijeetbohra Found it, thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Wyall picture Wyall  路  3Comments

kerosyn picture kerosyn  路  4Comments

Dondrejohnson5 picture Dondrejohnson5  路  4Comments

adamjmtz picture adamjmtz  路  5Comments

psyycker picture psyycker  路  3Comments