SnapDragonCamera: make exit smooth in landscape mode

In landscape mode, the system will change the display config to
portrait, so the SurfaceView should destroy first, then close
the camera device.

As user press back key for exit camera, set the screen to
portrait first, then close the camera device.

CRs-Fixed: 890573
Change-Id: I01c5ed11aea00be6809231b704fb3b2514c20c84
1 file changed