Don't start playing if we couldn't acquire audio focus.

This makes us not start playback when we get a 'play' media button event
in the middle of a call for whatever reason.

JIRA:CYAN-1067
Change-Id: If648da95c10716400eeba0b39a24213764370f7a
Kill off the option to not use RemoteControlClient.

In API level 18 the RCC will also be used for AVRCP 1.3 metadata, which
we certainly want to support. The decision whether to show the music
controls in the keyguard should be done at the framework level.

Change-Id: Ia17f9094231f3a76d1496ddf2ef2d90b2d4d9512
Merge branch 'cm-10.1' into martincz
Fix audio session ID handling when invoking DSP manager.

Change-Id: I8ebb71e32191b79f08cfa9c72fab311048992fe8
Merge "Don't start playing if we couldn't acquire audio focus." into cm-10.1
Make sure notification is shown when playback is started via media
button intent.

Also make sure to properly remove it when music is stopped with screen
of (e.g. when playing via BT): As handlers only count non-sleep times,
we have to use the alarm manager in order to make sure the notification
is removed after 1 minute.

JIRA: CYAN-1067
Change-Id: I87a5328e5116d199e2f62119f5a76eca73a3ee4e
Merge "Make sure notification is shown when playback is started via media button intent." into cm-10.1
Fix merge derp.

Change-Id: I073afea4845958d0691687771c681c2e0900053e
merge CyanogenMod

Change-Id: I10e979d9f059ef01638fbeaaae71ab0d15e29ffe
Apollo: merge fix

Change-Id: I3c6413f4f475188a33af66c170be5b0d1baff38d

fix

Change-Id: I737be3a3748b51f84ff91cf2f9f8c40f38241867
update translations

Change-Id: I7d29ce35f1cfd74e8f26149cbbc49917548ed61b
Apollo: Ignore playlist when name is null.

This will avoid nex crash:

FATAL EXCEPTION: main
java.lang.IllegalArgumentException: the bind value at index 1 is null
 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:167)
 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
 	at android.content.ContentProviderProxy.query(ContentProviderNative.java:366)
 	at android.content.ContentResolver.query(ContentResolver.java:372)
 	at android.content.ContentResolver.query(ContentResolver.java:315)
 	at com.andrew.apollo.utils.MusicUtils.getIdForPlaylist(MusicUtils.java:669)
 	at com.andrew.apollo.utils.MusicUtils.makePlaylistMenu(MusicUtils.java:1146)
 	at com.andrew.apollo.ui.fragments.QueueFragment.onCreateContextMenu(QueueFragment.java:215)

Change-Id: Ib60a55f54fedf18cf900c6e492c5b4135e5c86d8
Merge branch 'cm-10.1' into martincz