[WP] run under lock screen as well

This commit is contained in:
Viras- 2013-09-20 18:53:58 +02:00
parent 11dbab7a9b
commit d2aa71333b

View File

@ -32,6 +32,7 @@ namespace Cordova.Extension.Commands
{
public void acquire(string options) {
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
PhoneApplicationService.Current.ApplicationIdleDetectionMode = IdleDetectionMode.Disabled;
DispatchCommandResult();
}