summaryrefslogtreecommitdiff
path: root/storage/preferences/src/main/java
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2023-03-31 22:18:37 +0200
committerGitHub <noreply@github.com>2023-03-31 22:18:37 +0200
commit8c9b61e599df6124e39066b409f62cfed083d849 (patch)
tree85e8bbf97ad3f973db9ef8fcaf7940730b83ca93 /storage/preferences/src/main/java
parentd5321a147b26c80423a4c53428be3b6ff3426e0a (diff)
downloadAntennaPod-8c9b61e599df6124e39066b409f62cfed083d849.zip
Remove 'set lockscreen background' setting (#6385)
Users disable the setting and then wonder why other apps (like Android Auto) do not display the cover image, even though it says so in the setting summary.
Diffstat (limited to 'storage/preferences/src/main/java')
-rw-r--r--storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java b/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java
index fda95ccd7..1099d356e 100644
--- a/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java
+++ b/storage/preferences/src/main/java/de/danoeh/antennapod/storage/preferences/UserPreferences.java
@@ -55,7 +55,6 @@ public class UserPreferences {
public static final String PREF_SHOW_TIME_LEFT = "showTimeLeft";
private static final String PREF_PERSISTENT_NOTIFICATION = "prefPersistNotify";
public static final String PREF_COMPACT_NOTIFICATION_BUTTONS = "prefCompactNotificationButtons";
- public static final String PREF_LOCKSCREEN_BACKGROUND = "prefLockscreenBackground";
private static final String PREF_SHOW_DOWNLOAD_REPORT = "prefShowDownloadReport";
private static final String PREF_SHOW_AUTO_DOWNLOAD_REPORT = "prefShowAutoDownloadReport";
public static final String PREF_DEFAULT_PAGE = "prefDefaultPage";
@@ -292,15 +291,6 @@ public class UserPreferences {
}
/**
- * Returns true if the lockscreen background should be set to the current episode's image
- *
- * @return {@code true} if the lockscreen background should be set, {@code false} otherwise
- */
- public static boolean setLockscreenBackground() {
- return prefs.getBoolean(PREF_LOCKSCREEN_BACKGROUND, true);
- }
-
- /**
* Returns true if download reports are shown
*
* @return {@code true} if download reports are shown, {@code false} otherwise