diff options
author | ByteHamster <info@bytehamster.com> | 2018-10-15 15:31:14 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2018-10-15 15:31:14 +0200 |
commit | 221de87c04fe6f865e81d5f28a56ac64e62cd030 (patch) | |
tree | 9654d07dca3fceceae5519ebec0bffb6c4e546b2 /app | |
parent | 2d4739bd843bf522b06b128308c3284029b4a46c (diff) | |
download | AntennaPod-221de87c04fe6f865e81d5f28a56ac64e62cd030.zip |
Hiding expand notification preference on API 26
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java b/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java index c55117ecc..e1fcc43c5 100644 --- a/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java +++ b/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java @@ -227,6 +227,9 @@ public class PreferenceController implements SharedPreferences.OnSharedPreferenc return true; }); + if (Build.VERSION.SDK_INT >= 26) { + ui.findPreference(UserPreferences.PREF_EXPANDED_NOTIFICATION).setVisible(false); + } } private void setupStorageScreen() { |