mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
Better sort of string resources
This commit is contained in:
parent
b28c230f5a
commit
35eb29fdde
6 changed files with 156 additions and 165 deletions
|
|
@ -85,7 +85,7 @@ public class MultiPlayer implements Playback {
|
|||
@Override
|
||||
public void onPlayerError(ExoPlaybackException error) {
|
||||
Log.i(TAG, String.format("onPlayerError: %s", error.getMessage()));
|
||||
Toast.makeText(context, context.getResources().getString(R.string.unplayable_file), Toast.LENGTH_SHORT).show();
|
||||
Toast.makeText(context, context.getResources().getString(R.string.exo_info_unplayable_file), Toast.LENGTH_SHORT).show();
|
||||
|
||||
exoPlayer.clearMediaItems();
|
||||
exoPlayer.prepare();
|
||||
|
|
|
|||
|
|
@ -183,10 +183,10 @@ public class MusicService extends Service implements Playback.PlaybackCallbacks
|
|||
if (!playlistSongs.isEmpty()) {
|
||||
openQueue(playlistSongs, 0, true);
|
||||
} else {
|
||||
Toast.makeText(getApplicationContext(), R.string.playlist_is_empty, Toast.LENGTH_LONG).show();
|
||||
Toast.makeText(getApplicationContext(), R.string.exo_info_empty_playlist, Toast.LENGTH_LONG).show();
|
||||
}
|
||||
} else {
|
||||
Toast.makeText(getApplicationContext(), R.string.playlist_is_empty, Toast.LENGTH_LONG).show();
|
||||
Toast.makeText(getApplicationContext(), R.string.exo_info_empty_playlist, Toast.LENGTH_LONG).show();
|
||||
}
|
||||
break;
|
||||
case ACTION_REWIND:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue