The “lock screen desktop” feature seems lack one important thing on my mind.

The “lock screen desktop” feature seems lack one important thing on my mind.

When locked, I still have an access to the status bar.

Even if I set to hide it, I can swipe from top of screen and pull it.

This makes it impossible to make a secure lock screen, which can be unlocked only by interaction with controls on the screen – one can always bypass by pulling status bar and there’s multiple possibilities afterwards.

Maybe I missing something?

]]>

7 Commentsto The “lock screen desktop” feature seems lack one important thing on my mind.

  1. Anonymous says:

    < ![CDATA[

    I can only repeat myself: Lightning is not meant to provide any kind of security.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Lukas Morawietz I understand that. But the built-in lock screen already disables Home and Back keys. What bad would happen if it also disable other keys and disallow pulling of the status bar? Is it complex to implement or does it makes kind of fundamental difference?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Home and back keys are meant to be handled by the launcher. Disabling the Statusbar and other hardware/navbar buttons is not intended. As a result, all solutions have to access private methods in the Sdk. This means that there is no universal solution. The signature of these methods may be different between Android versions, device types and vendors.



    In conclusion: yes, this is complex to implement.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Dmitry Avsioukov​ use lockscreen xposed module by Sergio Sanchez


    With stock lockscreen

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Bruno-Isa LAMOUR-ARNOULD The funny thing is that I do not have any stock lock screen on my device, and I’m trying to implement it somehow.



    Maybe you remember, my device is a Chinese Car Head Unit based on KitKat 4.4.4. Due to some power-related specifics it doesn’t have a real sleep mode implemented like normal phones do. So they decided that it doesn’t need any lock screens, and there’s no even option in settings to choose it, they just removed that option from settings.



    But I tested with Tasker (it can act as a device admin and perform lockNow()) – the device locks, and then wakes up. If I set LLX with lock screen, it appears as it should be.



    I’ve made some sort of pin entry panel from text items, added some scripting, etc. The only bad thing is that status bar is still accessible and thus one can overcome pin entry.



    Why do I ever need all that? Because sometimes cars get broken, and have to left in workshops. And when that happen, I don’t want let anyone to dig in my Google account, etc.



    PS. I don’t need any existing lock screens. I need my own, just because I will be implementing special lock/unlock logic, based on existence of file with pin number on a removable SD card. Thus, when I’m using my car, the card is inserted and I never see device locked. When I need to give my car out, I’ll just remove that card, and device will lock immediately, until card replaced (or PIN entered on lock screen, as a backup method).

    ]]>

  6. Anonymous says:

    < ![CDATA[

    To extend on Lukas answer: third party apps are not allowed (and not able) to lock your device. There are dirty tricks to fool the system, for instance as soon as the app detects that the status bar has been shown, it asks to hide it again. This kind of stuff is heavily dependent from both android version and manufacturer customizations. I don’t have the power to handle that.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Pierre Hébert thanks for detailed answer! It seems reasonable now. I’ll go and implement my own standalone lock screen app then, at least I don’t have restrictions you outlined.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *