Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoLock off in Android doesn't work #28

Open
fugalh opened this issue Oct 7, 2012 · 3 comments
Open

AutoLock off in Android doesn't work #28

fugalh opened this issue Oct 7, 2012 · 3 comments

Comments

@fugalh
Copy link

fugalh commented Oct 7, 2012

I'm not an expert in Android dev or PhoneGap but I did a little digging in the code and it looks like the AutoLock OFF choice is trying to do something, but it's not keeping the screen on for me. I notice the app doesn't ask for permission to do this at install, so it might be as simple as fixing the manifest?

@charlieroberts
Copy link
Owner

Yeah, I just looked through the code and it doesn't look like this does anything under Android at the moment. Here's the relevant code on SO:

http://stackoverflow.com/questions/4736354/how-to-enable-or-disable-autolock-in-android

Are you compiling the app yourself? If so I can probably find time to add this in. If not, it's probably going to (still) be a while before the next version of Control comes out...

@fugalh
Copy link
Author

fugalh commented Oct 9, 2012

On 10/9/12 4:33 PM, charlieroberts wrote:

Yeah, I just looked through the code and it doesn't look like this does
anything under Android at the moment. Here's the relevant code on SO:

http://stackoverflow.com/questions/4736354/how-to-enable-or-disable-autolock-in-android

Are you compiling the app yourself? If so I can probably find time to
add this in. If not, it's probably going to (still) be a while before
the next version of Control comes out...

I haven't been, but I can.

@fugalh
Copy link
Author

fugalh commented Oct 9, 2012

Though, I do have a workaround (another app that runs in the background)
so if you just want to fix it for the next release that works for me
personally.

On 10/9/12 4:33 PM, charlieroberts wrote:

Yeah, I just looked through the code and it doesn't look like this does
anything under Android at the moment. Here's the relevant code on SO:

http://stackoverflow.com/questions/4736354/how-to-enable-or-disable-autolock-in-android

Are you compiling the app yourself? If so I can probably find time to
add this in. If not, it's probably going to (still) be a while before
the next version of Control comes out...


Reply to this email directly or view it on GitHub
#28 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants