maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Opening screen lock programmatically (https://talk.maemo.org/showthread.php?t=84631)

hotmultimedia 2012-06-01 00:01

Opening screen lock programmatically
 
Hello.

Is it possible to open screen lock programmatically? ie. from another program.

I know how to prevent system from enabling it. But the problem is that once the lock is activated, this dbus call doesn't do anything. So i'm guessing that there might be some other call for this.

rainisto 2012-06-01 04:11

Re: Opening screen lock programmatically
 
The official answer is no, because of security of the device there is no way to open the screen lock programmatically.

With exploited capas answer might be different, but that you will have to figure out yourself.

hotmultimedia 2012-06-01 06:49

Re: Opening screen lock programmatically
 
Really? I mean just opening the screen lock.
(not the device lock where you have to enter password)

Killing sysuid at least does the trick, but it's a bit too ugly solution. :-)


All times are GMT. The time now is 02:04.

vBulletin® Version 3.8.8