Re-add SurfaceTexture as member for setLocalPreview in VideoCapturerAndroid.
The Android camera api requires a surface to be set in order work. In this surfaceTexture was removed as a member but it turns out that can lead to camera freezes when the device is rotated. This cl re-adds the surface as a member.

BUG= webrtc:5021, webrtc:5003

Review URL: .

Cr-Commit-Position: refs/heads/master@{#9999}
diff --git a/talk/app/webrtc/java/android/org/webrtc/ b/talk/app/webrtc/java/android/org/webrtc/
index 18eb6e4..eff5390 100644
--- a/talk/app/webrtc/java/android/org/webrtc/
+++ b/talk/app/webrtc/java/android/org/webrtc/
@@ -76,6 +76,8 @@
   private Camera camera;  // Only non-null while capturing.
   private CameraThread cameraThread;
   private Handler cameraThreadHandler;
+  // |cameraSurfaceTexture| is used with setPreviewTexture. Must be a member, see issue webrtc:5021.
+  private SurfaceTexture cameraSurfaceTexture;
   private Context applicationContext;
   private int id;
   private Camera.CameraInfo info;
@@ -321,9 +323,8 @@
       // and never call updateTexImage on it.
       try {
         cameraGlTexture = GlUtil.generateTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES);
-        SurfaceTexture cameraSurfaceTexture = new SurfaceTexture(cameraGlTexture);
+        cameraSurfaceTexture = new SurfaceTexture(cameraGlTexture);
       } catch (IOException e) {
         Logging.e(TAG, "setPreviewTexture failed", error);
@@ -461,6 +462,7 @@
     Logging.d(TAG, "Release camera.");
     camera = null;
+    cameraSurfaceTexture = null;
   private void switchCameraOnCameraThread(Runnable switchDoneEvent) {