We have moved to a new Sailfish OS Forum. Please start new discussions there.

Possible to disable device lock without knowing the code [answered]

asked 2014-02-03 17:23:37 +0300

Mohjive gravatar image

updated 2014-02-04 14:06:31 +0300

chemist gravatar image

If the device lock is enabled there is a small, undefined grace-time where one can change Automated locking time, Number of tries and even Clear security code. I understand why it might be implemented this way, but I rather enter my security code each time I change any of these settings. After all, I don't tend to change these settings multiple times in one go.

I just imagined me unlocking the phone to show a "friend" a web page. He/she then clears the security code and enters a new one, just as a prank.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Mohjive
close date 2014-02-03 21:06:34.319315

1 Answer

Sort by » oldest newest most voted

answered 2014-02-03 18:57:55 +0300

rainisto gravatar image

updated 2014-02-03 19:01:26 +0300

Its functioning as intented, after you have entered devicelock code to change the settings once, it caches the code in memory untill you leave the settings page. So its not undefined grace-time, but very exact time that you remain in the specific page. If you give phone to a friend, and if he/she needs to open the devicelock settings page he/she will need to ented the lock code to make any changes. So pranking is not possible.

edit flag offensive delete publish link more


@rainisto: Ok, thanks for the clarification. I had the device lock page opened, so when I entered settings I was able to change those settings. So I guess there's a small hole still.

Mohjive ( 2014-02-03 19:07:21 +0300 )edit

Well yes we could also add some timer that would invalidate the cache after some minutes, but it might confuse end users, since they would feel that its randomly asking the code vs. consistent beeing in the settings page and leaving it clears the cache

rainisto ( 2014-02-03 19:11:03 +0300 )edit

Maybe just invalidate cache as soon as the page is not focused (settings in background, still on the same page, then re-open settings in foreground = locked). This behavior would be consistent for the user.

Triton ( 2014-02-03 20:13:40 +0300 )edit

Thats pretty good idea, I'll see if I can add that in some future sw update.

rainisto ( 2014-02-03 20:30:33 +0300 )edit

@Triton: nice one. @rainisto: This looks like it's solved then. :)

Mohjive ( 2014-02-03 21:06:19 +0300 )edit

Question tools



Asked: 2014-02-03 17:23:37 +0300

Seen: 733 times

Last updated: Feb 03 '14