I restored to factory default and the problem was gone for a couple of hours, but then it came back.
I did not do anything in settings to make this happen.
I have the same problem after upgrading to lollipop.
The camera app starts every time I open the s view cover.
Anyone knows what makes this happen? It was fine on 4.4.2