SnapdragonCamera: Fix ANR during open camera

When preview UI destory, app call Camera API as order:
setPreviewDispaly(null) and stopPreview(). In case native
window disconnected before stopPreview(), will cause ANR,
since calling to native window fails.
Native window is taken care within camera framework. So,
by removing setPreviewDisplay(null), can avoid this issue.

Change-Id: Id804f2e0876a61d974e58dd996c46fe769f69856
1 file changed