Merge pull request #3131 from ByteHamster/fix-hiding-ExternalPlayer

Hiding ExternalPlayerFragment onStart
This commit is contained in:
H. Lehmann 2019-04-24 23:05:55 +02:00 committed by GitHub
commit 3b9e34e18e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -215,7 +215,8 @@ public class ExternalPlayerFragment extends Fragment {
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(media -> updateUi((Playable) media),
error -> Log.e(TAG, Log.getStackTraceString(error)));
error -> Log.e(TAG, Log.getStackTraceString(error)),
() -> fragmentLayout.setVisibility(View.GONE));
return true;
}