[WP] run under lock screen as well
This commit is contained in:
parent
11dbab7a9b
commit
d2aa71333b
@ -32,6 +32,7 @@ namespace Cordova.Extension.Commands
|
|||||||
{
|
{
|
||||||
public void acquire(string options) {
|
public void acquire(string options) {
|
||||||
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
|
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
|
||||||
|
PhoneApplicationService.Current.ApplicationIdleDetectionMode = IdleDetectionMode.Disabled;
|
||||||
|
|
||||||
DispatchCommandResult();
|
DispatchCommandResult();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user