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:
Karim Abou Zeid 2015-04-01 17:41:11 +02:00
commit 6a2c3e565d
9 changed files with 41 additions and 19 deletions

View file

@ -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();
}
}