This commit is contained in:
Gabriel Rivero 2021-11-16 21:40:38 -04:00
parent 2b310cbf7e
commit ab202c96b6

View File

@ -450,7 +450,7 @@ class ReactExoplayerView extends FrameLayout implements
return false; return false;
} }
if (runtime.freeMemory() == 0) { if (runtime.freeMemory() == 0) {
Log.w("ExoPlayer Warning", "free memory reached 0, forcing garbage collection"); Log.w("ExoPlayer Warning", "Free memory reached 0, forcing garbage collection");
runtime.gc(); runtime.gc();
return false; return false;
} }