mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Rollback of 355ed11a3c
*** Original commit *** Suppress warnings emitted by Checker Framework version 2.11.1 More information: https://docs.google.com/document/d/16tpK6aXqN68PvTyvt4siM-m7f0NXi_8xEeitLDzr8xY/edit?usp=sharing Tested: TAP --sample ran all affected tests and none failed http://test/OCL:278915274:BASE:278884711:1573074344615:a6701677 *** PiperOrigin-RevId: 284741721
This commit is contained in:
parent
3233995441
commit
9ec524a7e2
2 changed files with 1 additions and 11 deletions
|
|
@ -51,12 +51,6 @@ import java.nio.ByteBuffer;
|
||||||
@Nullable private byte[] tempBuffer;
|
@Nullable private byte[] tempBuffer;
|
||||||
private boolean endOfExtractorInput;
|
private boolean endOfExtractorInput;
|
||||||
|
|
||||||
// the constructor does not initialize fields: tempBuffer
|
|
||||||
// call to flacInit() not allowed on the given receiver.
|
|
||||||
@SuppressWarnings({
|
|
||||||
"nullness:initialization.fields.uninitialized",
|
|
||||||
"nullness:method.invocation.invalid"
|
|
||||||
})
|
|
||||||
public FlacDecoderJni() throws FlacDecoderException {
|
public FlacDecoderJni() throws FlacDecoderException {
|
||||||
if (!FlacLibrary.isAvailable()) {
|
if (!FlacLibrary.isAvailable()) {
|
||||||
throw new FlacDecoderException("Failed to load decoder native libraries.");
|
throw new FlacDecoderException("Failed to load decoder native libraries.");
|
||||||
|
|
|
||||||
|
|
@ -226,11 +226,7 @@ public class DefaultTimeBar extends View implements TimeBar {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Suppress warnings due to usage of View methods in the constructor.
|
// Suppress warnings due to usage of View methods in the constructor.
|
||||||
// the constructor does not initialize fields: adGroupTimesMs, playedAdGroups
|
@SuppressWarnings("nullness:method.invocation.invalid")
|
||||||
@SuppressWarnings({
|
|
||||||
"nullness:method.invocation.invalid",
|
|
||||||
"nullness:initialization.fields.uninitialized"
|
|
||||||
})
|
|
||||||
public DefaultTimeBar(
|
public DefaultTimeBar(
|
||||||
Context context,
|
Context context,
|
||||||
@Nullable AttributeSet attrs,
|
@Nullable AttributeSet attrs,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue