expose MediaProjection

BUG=None

Change-Id: I82f97f02272d882cd2fdc0d9869f2879ba3bbc30
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/182440
Commit-Queue: Bin Zhu <ricebin@google.com>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31993}
This commit is contained in:
Bin Zhu
2020-08-24 14:25:10 -07:00
committed by Commit Bot
parent e8b00a1a74
commit 12e8511d55

View File

@ -75,6 +75,11 @@ public class ScreenCapturerAndroid implements VideoCapturer, VideoSink {
}
}
@Nullable
public MediaProjection getMediaProjection() {
return mediaProjection;
}
@Override
// TODO(bugs.webrtc.org/8491): Remove NoSynchronizedMethodCheck suppression.
@SuppressWarnings("NoSynchronizedMethodCheck")