mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-26 22:20:24 +00:00
update logging of playerErrors
This commit is contained in:
parent
ca5398fc6f
commit
bd50c706fb
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ public class PlayerActivity extends AbstractServiceConnectedAcitivty
|
|||
|
||||
@Override
|
||||
public void onPlayerError(ExoPlaybackException error) {
|
||||
String errorMessage = getResources().getString(R.string.error_fragment_message);
|
||||
String errorMessage = error.getCause().getMessage();
|
||||
Toast.makeText(PlayerActivity.this,errorMessage,Toast.LENGTH_SHORT).show();
|
||||
Log.d(TAG,errorMessage,error);
|
||||
PlayerActivity.this.finish();
|
||||
|
|
Loading…
Reference in a new issue