Fix/suppress all javac warnings.
This is done in preparation to make all javac warnings into errors for WebRTC targets. Bug: webrtc:6597 Change-Id: I402043157bd75943adf0de52111e5a1bb179c6d1 Reviewed-on: https://webrtc-review.googlesource.com/15104 Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20450}
This commit is contained in:
committed by
Commit Bot
parent
ef5df1ae52
commit
9828bebee6
@ -18,7 +18,6 @@ import android.media.MediaFormat;
|
||||
import android.os.Build;
|
||||
import android.os.SystemClock;
|
||||
import android.view.Surface;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
@ -562,6 +561,7 @@ public class MediaCodecVideoDecoder {
|
||||
}
|
||||
|
||||
// Dequeues and returns a DecodedTextureBuffer if available, or null otherwise.
|
||||
@SuppressWarnings("WaitNotInLoop")
|
||||
public DecodedTextureBuffer dequeueTextureBuffer(int timeoutMs) {
|
||||
synchronized (newFrameLock) {
|
||||
if (renderedBuffer == null && timeoutMs > 0 && isWaitingForTexture()) {
|
||||
|
||||
Reference in New Issue
Block a user