I need to find a way to stop the screen saver from interrupting my application, also stop the backlight from turning off, BUT allow the system lock (autolock) to interrupt the application.
Currently I'm using the User::ResetInactivityTimer() but this also stops the autolock / systemlock from occuring.
I was thinking of not doing the ResetInactivityTimer and waiting for the lose focus event and then bringing the app back to focus if it was the screensaver that interrupted, BUT this would still mean the backlight goes off when I dont want it to.
This is actually to pass the symbian signed new testing criteria, I would be playing a bit of media and don't want it to be interrupted by screensaver or backlight. But we HAVE to allow the system lock to occur.
UPDATE: Yes I am aware of the CHWRMLight api to keep the backlight on, but that still leaves me with either both the screensaver and system lock happening or neither of them happening. I only want the system lock.