SurfaceView (camera preview) goes black after screen On/Off
<p>I'm trying to understand interesting thing. I made simple application with SurfaceView and Button. SurfaceView shows camera preview and Button shoot picture. Everything goes good except one moment:</p>

<p>If i press home button, my app goes to background, ok, then i turn screen off/on, then i tap on app icon and my app moves to foreground and everything is correct, i see preview camera again. BUT If i turn screen off/on without moving my app to background, then i see black preview without camera and cant make any pictures.</p>

<p>Please, help, i broke my brain :)</p>

<p>Thank you for your help!</p>
