aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2020-09-21 20:07:46 -0700
committerScott Jackson <daneren2005@gmail.com>2020-09-21 20:07:46 -0700
commit788dc19ed7297eef4221423b4d077b30bc0f727e (patch)
tree8a9ae229ff799d557a2d163d3a35ffcd39d3a591 /app
parented4e42af3f276a5bc9d8f248cb5dc29ea255b6aa (diff)
downloaddsub-788dc19ed7297eef4221423b4d077b30bc0f727e.tar.gz
dsub-788dc19ed7297eef4221423b4d077b30bc0f727e.tar.bz2
dsub-788dc19ed7297eef4221423b4d077b30bc0f727e.zip
Change media notification to default to system style
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/service/DownloadService.java2
-rw-r--r--app/src/main/res/xml/settings_playback.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java
index 5c077b1e..e86899b1 100644
--- a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java
+++ b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java
@@ -1520,7 +1520,7 @@ public class DownloadService extends Service {
}
SharedPreferences prefs = Util.getPreferences(this);
- boolean usingMediaStyleNotification = prefs.getBoolean(Constants.PREFERENCES_KEY_MEDIA_STYLE_NOTIFICATION, false) && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
+ boolean usingMediaStyleNotification = prefs.getBoolean(Constants.PREFERENCES_KEY_MEDIA_STYLE_NOTIFICATION, true) && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
if (show) {
Notifications.showPlayingNotification(this, this, handler, currentPlaying.getSong(), usingMediaStyleNotification);
diff --git a/app/src/main/res/xml/settings_playback.xml b/app/src/main/res/xml/settings_playback.xml
index f2e76b4c..fd6a7dda 100644
--- a/app/src/main/res/xml/settings_playback.xml
+++ b/app/src/main/res/xml/settings_playback.xml
@@ -50,7 +50,7 @@
android:title="@string/settings.media_style_notification"
android:summary="@string/settings.media_style_notification_summary"
android:key="mediaStyleNotification"
- android:defaultValue="false"/>
+ android:defaultValue="true"/>
<ListPreference
android:title="@string/settings.song_press_action"