Skip to content

Commit

Permalink
AntennaPod#3387 permission prompt - add comments for case Wi-Fi filte…
Browse files Browse the repository at this point in the history
…r not enabled.
  • Loading branch information
orionlee committed Sep 14, 2019
1 parent 25f1d1e commit f4935c9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,10 @@ boolean showPermissionRequestPromptOnAndroid10IfNeeded(boolean wifiFilterEnabled

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

Expand Down

0 comments on commit f4935c9

Please sign in to comment.