Annotate libjingle_peerconnection_java with @Nullable.
Bug: webrtc:8881 Change-Id: Ida2ef6c003567d19529c21629c916ed40e8de3a6 Reviewed-on: https://webrtc-review.googlesource.com/63380 Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Paulina Hensman <phensman@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22563}
This commit is contained in:

committed by
Commit Bot

parent
12d6a49e97
commit
e7592d8d5f
@ -19,6 +19,7 @@ import android.hardware.display.VirtualDisplay;
|
||||
import android.media.projection.MediaProjection;
|
||||
import android.media.projection.MediaProjectionManager;
|
||||
import android.view.Surface;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* An implementation of VideoCapturer to capture the screen content as a video stream.
|
||||
@ -44,13 +45,13 @@ public class ScreenCapturerAndroid
|
||||
|
||||
private int width;
|
||||
private int height;
|
||||
private VirtualDisplay virtualDisplay;
|
||||
private SurfaceTextureHelper surfaceTextureHelper;
|
||||
private CapturerObserver capturerObserver;
|
||||
@Nullable private VirtualDisplay virtualDisplay;
|
||||
@Nullable private SurfaceTextureHelper surfaceTextureHelper;
|
||||
@Nullable private CapturerObserver capturerObserver;
|
||||
private long numCapturedFrames = 0;
|
||||
private MediaProjection mediaProjection;
|
||||
@Nullable private MediaProjection mediaProjection;
|
||||
private boolean isDisposed = false;
|
||||
private MediaProjectionManager mediaProjectionManager;
|
||||
@Nullable private MediaProjectionManager mediaProjectionManager;
|
||||
|
||||
/**
|
||||
* Constructs a new Screen Capturer.
|
||||
|
Reference in New Issue
Block a user