diff options
author | asdoi <36813904+asdoi@users.noreply.github.com> | 2020-10-15 20:22:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 22:22:37 +0200 |
commit | e9285fba2f9e446702a0a5aff14bb0a475773951 (patch) | |
tree | c96e922e47fd6a75d84e11b4ae977bb0bba5bb2d /core/src | |
parent | cb1af5dbacc3ae1fd5ca55d2e2ff4a4af0b29539 (diff) | |
download | AntennaPod-e9285fba2f9e446702a0a5aff14bb0a475773951.zip |
Clarified wording of compact notification setting (#4384)
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceNotificationBuilder.java | 1 | ||||
-rw-r--r-- | core/src/main/res/values/strings.xml | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceNotificationBuilder.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceNotificationBuilder.java index 0ff8b94d6..632ac07ea 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceNotificationBuilder.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceNotificationBuilder.java @@ -139,6 +139,7 @@ public class PlaybackServiceNotificationBuilder { notification.setSmallIcon(R.drawable.ic_notification); notification.setOngoing(false); notification.setOnlyAlertOnce(true); + notification.setShowWhen(false); notification.setPriority(UserPreferences.getNotifyPriority()); notification.setVisibility(NotificationCompat.VISIBILITY_PUBLIC); notification.setColor(NotificationCompat.COLOR_DEFAULT); diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index 0408195a3..67eaa4351 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -465,8 +465,8 @@ <string name="pref_expandNotify_sum">This usually expands the notification to show playback buttons.</string> <string name="pref_persistNotify_title">Persistent Playback Controls</string> <string name="pref_persistNotify_sum">Keep notification and lockscreen controls when playback is paused.</string> - <string name="pref_compact_notification_buttons_title">Set Lockscreen Buttons</string> - <string name="pref_compact_notification_buttons_sum">Change the playback buttons on the lockscreen. The play/pause button is always included.</string> + <string name="pref_compact_notification_buttons_title">Set Compact Notification Buttons</string> + <string name="pref_compact_notification_buttons_sum">Change the playback buttons when the notification is collapsed. The play/pause button is always included.</string> <string name="pref_compact_notification_buttons_dialog_title">Select a maximum of %1$d items</string> <string name="pref_compact_notification_buttons_dialog_error">You can only select a maximum of %1$d items.</string> <string name="pref_lockscreen_background_title">Set Lockscreen Background</string> |