Suppress 'unused' warning on largeBuffer local in ExoPlayerTest
PiperOrigin-RevId: 302474924
This commit is contained in:
parent
0c20462b48
commit
2cbf98bb68
@ -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…
x
Reference in New Issue
Block a user