Skip to content

Commit

Permalink
Added return listener returns an error already
Browse files Browse the repository at this point in the history
  • Loading branch information
tentenponce committed Aug 25, 2024
1 parent 12cb0cc commit 44bd0e3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ public void isLocationServiceEnabled(LocationServiceListener listener) {
(response) -> {
if (!response.isSuccessful()) {
listener.onLocationServiceError(ErrorCodes.locationServicesDisabled);
return;
}

try {
Expand Down

0 comments on commit 44bd0e3

Please sign in to comment.