? Functions which take magic booleans are a pet peeve of mine. (I guess this boolean isn't so magic, but I don't like disableScreenSaver(false) is still unfortunate.)
I'm not sure we need a reentrant solution like the Android wake lock -- an author can easily code that up around the API if necessary, right?
I'm also not sure pages need to be able to warn the user if they can't disable the screensaver; do you have a use-case, Jonas? I'm afraid of "you must disable your screensaver in order to use this app" kind of BS.
Can we do
disableScreen Saver,
enableScreenSaver
? Functions which take magic booleans are a pet peeve of mine. (I guess this boolean isn't so magic, but I don't like disableScreenSa ver(false) is still unfortunate.)
I'm not sure we need a reentrant solution like the Android wake lock -- an author can easily code that up around the API if necessary, right?
I'm also not sure pages need to be able to warn the user if they can't disable the screensaver; do you have a use-case, Jonas? I'm afraid of "you must disable your screensaver in order to use this app" kind of BS.