Bug fixes
- fixed navigation bar color bug - added some light gradients to now playing screen - telephone call pause bug - more bugs
This commit is contained in:
parent
f362df7d3d
commit
6a2c3e565d
9 changed files with 41 additions and 19 deletions
|
|
@ -102,6 +102,7 @@ public class AlbumSongAdapter extends RecyclerView.Adapter<AlbumSongAdapter.View
|
|||
return true;
|
||||
case R.id.action_add_to_current_playing:
|
||||
MusicPlayerRemote.enqueue(dataSet.get(getAdapterPosition()));
|
||||
return true;
|
||||
case R.id.action_tag_editor:
|
||||
Intent intent = new Intent(activity, SongTagEditorActivity.class);
|
||||
intent.putExtra(AppKeys.E_ID, dataSet.get(getAdapterPosition()).id);
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ public class DeleteSongsDialogHelper {
|
|||
|
||||
public static MaterialDialog getDialog(final Context context, final List<Song> songs) {
|
||||
String title = context.getResources().getString(R.string.delete_songs_1);
|
||||
title = songs.size() > 1 ? title + songs.size() + context.getResources().getString(R.string.delete_songs_2) : title + songs.get(0).title + "?";
|
||||
title = songs.size() > 1 ? title + songs.size() + context.getResources().getString(R.string.delete_songs_2) : title + "'" + songs.get(0).title + "' " + "?";
|
||||
return new MaterialDialog.Builder(context)
|
||||
.title(title)
|
||||
.content(context.getResources().getString(R.string.delete_warning))
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ public class MusicService extends Service implements MediaPlayer.OnPreparedListe
|
|||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
if (intent.getAction().compareTo(AudioManager.ACTION_AUDIO_BECOMING_NOISY) == 0) {
|
||||
wasPlayingBeforeFocusLoss = false;
|
||||
pausePlaying();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package com.kabouzeid.gramophone.ui.activities;
|
|||
import android.annotation.TargetApi;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.drawable.BitmapDrawable;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue