I tried to keep tasker enabled with different profiles enabled each time but the bug occurs which ever profile is enabled.
https://groups.google.com/forum/#!topic/tasker/aYUt3rTr1cg
As a side note i can no longer control mobile data through tasker which i could with kitkat and when i first installed lollipop.
It does happen when I enable all four of my profiles:
I've had a couple of emails that this problem is gone when not using Secure Settings to manipulate the screen lock.
So the common element seems to be messing around with the keyguard lock, the side-effects are nastier in Lollipop.
If may add another piece of info... The bug doesn't necessarily occur at the moment of execution of the keyguard on/off task but at a random time frame after that event, while the profile containing the task is still active
If you are using secure settings and disable keyguard this is most likely the issue. If you update secure settings it will recommend not using disable keyguard.
There is no lockscreen enabled at all. Secure Settings is installed but is used only on boot up to set the Airplane Radios and not again.
I have a simple Profile that responds to the Display On event. When this occurs, a check is made to see if the Rolling activity of IpWebcam is on top of the stack. This is done using a root shell command (dumpsys). It generally is on the top of the stack. But if it is not on top, and it may not be due to my fiddling around with other stuff, I then have Tasker start the IpWebcam's Rolling activity. If the Rolling activity is already on top, nothing is done. That's it.
What I find is that sometimes, I cannot find any distinct pattern or time interval, when the home screen button is pressed while the display is off, the Note 1's led touch lights come on as usual but the rest of the display is black. I am not sure yet if the notification bar is visible as others have said and I will check on that next time this happens. But if I wait for the screen timeout (30 seconds) and press home again, the display usually comes on and the IpWebcam's Rolling activity is showing.
I have been testing with this single profile disabled but with IpWebcam's Rolling activity on top and showing. I am making sure I do nothing to disturb this. I find that this black screen issue simply does not seem to happen. So while I cannot claim to be 100% sure, I am thinking that the issue is caused or at least triggered by Tasker's handling of the Display On event.
Can anyone shed any light on what is happening here or how to "fix" it?
Thanks!