#3387 permission prompt - add comments for case Wi-Fi filter not enabled.

This commit is contained in:
orionlee 2019-09-14 13:15:50 -07:00
parent db2141a7b4
commit 292aaa610e

View File

@ -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;
}