While playing around with the code snippets in the chapter it seems like whenever the screen is locked, then resuming again, the camera preview stays frozen. I double checked that my code matches the sample code, everything looks good. I also verified on two devices (Samsung Galaxy S3 & HTC Inspire). Also verified that the onResume and onPause callbacks are getting invoked while leaving/entering the lock screen.
The weird part is that it works correctly when I hit the home button then come back to the app. The issue is only reproducible when I go to the lock screen then come back. Any ideas? Thanks :mrgreen: