(Android) Fix for issue #2662 

This fix makes the camera work when app goes background and foreground again. 

However, notice that in some devices (for example, in Nexus 4) camera performance decreases every time the app comes from background.