Remove redundant initializers from WebRTC Java code.
Removes redundant field initializers such as null, 0 and false. Bug: webrtc:9742 Change-Id: I1e54f6c6000885cf95f7af8e2701875a78445497 Reviewed-on: https://webrtc-review.googlesource.com/99481 Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24676}
This commit is contained in:
committed by
Commit Bot
parent
ef73f59de6
commit
3d50a31aad
@ -152,14 +152,12 @@ public class CallActivity extends Activity implements AppRTCClient.SignalingEven
|
||||
|
||||
private final ProxyVideoSink remoteProxyRenderer = new ProxyVideoSink();
|
||||
private final ProxyVideoSink localProxyVideoSink = new ProxyVideoSink();
|
||||
@Nullable
|
||||
private PeerConnectionClient peerConnectionClient = null;
|
||||
@Nullable private PeerConnectionClient peerConnectionClient;
|
||||
@Nullable
|
||||
private AppRTCClient appRtcClient;
|
||||
@Nullable
|
||||
private SignalingParameters signalingParameters;
|
||||
@Nullable
|
||||
private AppRTCAudioManager audioManager = null;
|
||||
@Nullable private AppRTCAudioManager audioManager;
|
||||
@Nullable
|
||||
private SurfaceViewRenderer pipRenderer;
|
||||
@Nullable
|
||||
@ -176,9 +174,9 @@ public class CallActivity extends Activity implements AppRTCClient.SignalingEven
|
||||
private boolean iceConnected;
|
||||
private boolean isError;
|
||||
private boolean callControlFragmentVisible = true;
|
||||
private long callStartedTimeMs = 0;
|
||||
private long callStartedTimeMs;
|
||||
private boolean micEnabled = true;
|
||||
private boolean screencaptureEnabled = false;
|
||||
private boolean screencaptureEnabled;
|
||||
private static Intent mediaProjectionPermissionResultData;
|
||||
private static int mediaProjectionPermissionResultCode;
|
||||
// True if local view is in the fullscreen renderer.
|
||||
|
||||
Reference in New Issue
Block a user