Bug 1053614 - [woodduck] repeatedly enter and leave camera app, then high chance camera will be black screen when entering camera.

cherry-pick from master (017cd120af4c2827bc2a25615cc78e742a64e6fe).