setup for version 0.7.0

This commit is contained in:
Christian Schabesberger 2015-12-20 21:28:07 +01:00
parent 72289ced39
commit c89dc4ba5b
5 changed files with 25 additions and 26 deletions

View file

@ -301,7 +301,8 @@ class ActionBarHandler {
boolean externalAudioPlayer = PreferenceManager.getDefaultSharedPreferences(activity)
.getBoolean(activity.getString(R.string.useExternalAudioPlayer), false);
Intent intent;
if (!externalAudioPlayer)//internal (background) music player: explicit intent
if (!externalAudioPlayer && android.os.Build.VERSION.SDK_INT >= 18)//internal music player: explicit intent
{
intent = new Intent(activity, BackgroundPlayer.class);