Hi,

I have an application which is trying to set the "auto lock" time on the
device:

PrefSetPreference(prefAutoLockType, afterPresetDelay);
PrefSetPreference(prefAutoLockTime, 600);
PrefSetPreference(prefAutoLockTimeFlag, 0);

However, these preference changes do not appear to kick in, until you soft
reset the device.  For example, if you run this code and then power-off the
device, you will be prompted for a password if you power-on the device
immediately.  (It will not wait the 600 seconds.)  But if you soft reset and
then power off the device, it will obey the new preference settings.

Is this a known issue with the built-in Security application?  Is there
something that I can be doing to tell the Security app to "reload" its
settings, aside from resetting the device?  I've tried sending it a
sysAppLaunchCmdSystemReset launch code, but that doesn't seem to do it.

thanks!
-- Chris



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to