lock/unlock screen

walterf25

Expert
Licensed User
Longtime User
Unlock Screen

If there's no password set you can use this, it works for me.

B4X:
Sub SetShowWhenLocked
    Dim r As Reflector
    r.Target = r.GetActivity
    r.Target = r.RunMethod("getWindow")
    r.RunMethod2("addFlags", 6815872, "java.lang.int")
End Sub

Hope it helps!
 
Upvote 0
Top