Control icon indicating copy to clipboard operation
Control copied to clipboard

AutoLock off in Android doesn't work

Open fugalh opened this issue 12 years ago • 3 comments

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?

fugalh avatar Oct 07 '12 16:10 fugalh

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...

charlieroberts avatar Oct 09 '12 23:10 charlieroberts

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 avatar Oct 09 '12 23:10 fugalh

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 https://github.com/charlieroberts/Control/issues/28#issuecomment-9284060.

fugalh avatar Oct 09 '12 23:10 fugalh