Don't pause when detaching

This commit is contained in:
Hampton Maxwell 2018-10-13 20:36:12 -07:00
parent a6db0a5d3f
commit 3eb8515461

View File

@ -202,7 +202,10 @@ class ReactExoplayerView extends FrameLayout implements
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
stopPlayback();
/* We want to be able to continue playing audio when switching tabs.
* Leave this here in case it causes issues.
*/
// stopPlayback();
}
// LifecycleEventListener implementation