diff options
author | orionlee <orionlee@yahoo.com> | 2019-09-14 13:15:50 -0700 |
---|---|---|
committer | orionlee <orionlee@yahoo.com> | 2019-09-27 10:29:27 -0700 |
commit | 292aaa610ec261d959340cedc3eea66cb37fedd4 (patch) | |
tree | 875609cc0aaa995569e286236332a56f91af10b5 | |
parent | db2141a7b44c1eee971f48cb703f9bb4c187634a (diff) | |
download | AntennaPod-292aaa610ec261d959340cedc3eea66cb37fedd4.zip |
#3387 permission prompt - add comments for case Wi-Fi filter not enabled.
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/preferences/AutoDownloadPreferencesFragment.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/AutoDownloadPreferencesFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/AutoDownloadPreferencesFragment.java index 7d1d98cfd..859016bbc 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/AutoDownloadPreferencesFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/AutoDownloadPreferencesFragment.java @@ -236,7 +236,10 @@ public class AutoDownloadPreferencesFragment extends PreferenceFragmentCompat { // Case location permission not yet granted, permission-specific UI is needed - if (!wifiFilterEnabled) { // don't show the UI when WiFi filter disabled + if (!wifiFilterEnabled) { + // Don't show the UI when WiFi filter disabled. + // it still return true, so that the caller knows + // it does not have required permission, and will not invoke codes that require so. return true; } |