I'm trying to set the maximum time to lock with 
DevicePolicyManager.setMaximumTimeToLock(), but this seems to have no 
effect. Admin-mode is enabled and lockNow() works without a problem. Is 
there anything else which needs to be done to use setMaximumTimeToLock() ?

I want to set the time to lock based on my location. I.e. when at home I 
want to lock the screen after 60 min, at work after 20 min, so I don't have 
to type my password so often in a trusted environment.

tgr

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to