mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Suppress 'unused' warning on largeBuffer local in ExoPlayerTest
PiperOrigin-RevId: 302474924
This commit is contained in:
parent
0c20462b48
commit
2cbf98bb68
1 changed files with 1 additions and 0 deletions
|
|
@ -6184,6 +6184,7 @@ public final class ExoPlayerTest {
|
|||
new Loader.Loadable() {
|
||||
@Override
|
||||
public void load() throws IOException {
|
||||
@SuppressWarnings("unused") // This test needs the allocation to cause an OOM.
|
||||
byte[] largeBuffer = new byte[Integer.MAX_VALUE];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue