diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2015-09-14 21:49:43 +0200 |
---|---|---|
committer | Martin Fietz <Martin.Fietz@gmail.com> | 2015-09-16 01:38:39 +0200 |
commit | 8efb73a39e14b780cd7486d47502e7e3370fbd2a (patch) | |
tree | 78ad52fe02668e9b54af5ab1f4d34d13705b346c /app/src/main | |
parent | 8d4bdd5ba1a027a468e1a40eadc2b3ae6fc62faf (diff) | |
download | AntennaPod-8efb73a39e14b780cd7486d47502e7e3370fbd2a.zip |
Set lockscreen background, set media session and playback state
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 117a008a8..a94f9ff95 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -325,6 +325,11 @@ android:scheme="package"/> </intent-filter> </receiver> + <receiver android:name="de.danoeh.antennapod.core.service.playback.MediaButtonIntentReceiver"> + <intent-filter> + <action android:name="android.intent.action.MEDIA_BUTTON" /> + </intent-filter> + </receiver> <meta-data android:name="de.danoeh.antennapod.core.glide.ApGlideModule" diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 35fb60c58..8d7297e95 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -45,6 +45,12 @@ android:summary="@string/pref_persistNotify_sum" android:title="@string/pref_persistNotify_title"/> <CheckBoxPreference + android:defaultValue="false" + android:enabled="true" + android:key="prefLockscreenBackground" + android:summary="@string/pref_lockscreen_background_sum" + android:title="@string/pref_lockscreen_background_title"/> + <CheckBoxPreference android:defaultValue="true" android:enabled="true" android:key="prefShowDownloadReport" |