lucasreiners/android-lockscreen-disabler

Apply changes to lockscreen type without reboot

Closed this issue · 4 comments

Another important thing I found: I struggeled a lot to find a solution, who we can apply changes to the desired lockscreen type without reboot.
Here is an explanation how to achieve it: http://forum.xda-developers.com/showpost.php?p=53663255&postcount=2
Quite simple..

You can assign this to me.

The cleanup looks very good, code is much cleaner now!
Changing the type without reboot still not works completely for me.

Case 1:
Booting with device standard security and changing to mocked slide-to-unlock afterwards -> working

Case 2:
Booting with mocked slide-to-unlock and then changing back to device standard -> not working (stays slide-to-unlock)

I just posted a pull request that amongst other things includes a fix for this. The problem is that the default android settings will get saved read-only every time you make a change - and then the 'reload' will not be able to read them. So the fix is in the Settings class to make sure the shared pref is created world readable.

Will be fixed by #5