Minor style change suggested by internal static analysis tool.
BUG=None
Review-Url: https://codereview.webrtc.org/2645333003
Cr-Commit-Position: refs/heads/master@{#16211}
diff --git a/webrtc/sdk/android/api/org/webrtc/Camera1Session.java b/webrtc/sdk/android/api/org/webrtc/Camera1Session.java
index 8f1c15d..6946320 100644
--- a/webrtc/sdk/android/api/org/webrtc/Camera1Session.java
+++ b/webrtc/sdk/android/api/org/webrtc/Camera1Session.java
@@ -41,9 +41,6 @@
private final Context applicationContext;
private final SurfaceTextureHelper surfaceTextureHelper;
private final int cameraId;
- private final int width;
- private final int height;
- private final int framerate;
private final android.hardware.Camera camera;
private final android.hardware.Camera.CameraInfo info;
private final CaptureFormat captureFormat;
@@ -99,9 +96,8 @@
// Calculate orientation manually and send it as CVO insted.
camera.setDisplayOrientation(0 /* degrees */);
- callback.onDone(
- new Camera1Session(events, captureToTexture, applicationContext, surfaceTextureHelper,
- cameraId, width, height, framerate, camera, info, captureFormat, constructionTimeNs));
+ callback.onDone(new Camera1Session(events, captureToTexture, applicationContext,
+ surfaceTextureHelper, cameraId, camera, info, captureFormat, constructionTimeNs));
}
private static void updateCameraParameters(android.hardware.Camera camera,
@@ -149,9 +145,9 @@
}
private Camera1Session(Events events, boolean captureToTexture, Context applicationContext,
- SurfaceTextureHelper surfaceTextureHelper, int cameraId, int width, int height, int framerate,
- android.hardware.Camera camera, android.hardware.Camera.CameraInfo info,
- CaptureFormat captureFormat, long constructionTimeNs) {
+ SurfaceTextureHelper surfaceTextureHelper, int cameraId, android.hardware.Camera camera,
+ android.hardware.Camera.CameraInfo info, CaptureFormat captureFormat,
+ long constructionTimeNs) {
Logging.d(TAG, "Create new camera1 session on camera " + cameraId);
this.cameraThreadHandler = new Handler();
@@ -160,9 +156,6 @@
this.applicationContext = applicationContext;
this.surfaceTextureHelper = surfaceTextureHelper;
this.cameraId = cameraId;
- this.width = width;
- this.height = height;
- this.framerate = framerate;
this.camera = camera;
this.info = info;
this.captureFormat = captureFormat;