Skip to content

Commit

Permalink
fix: prevents infinite recursion when getting the location permission (
Browse files Browse the repository at this point in the history
…#1813)

* fix: prevents infinite recursion when getting the location permission

* remove unnecessary imports
  • Loading branch information
dkhawk authored Sep 19, 2024
1 parent 561e829 commit 5790ff2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ private void updateLocationUI() {
map.setMyLocationEnabled(false);
map.getUiSettings().setMyLocationButtonEnabled(false);
lastKnownLocation = null;
getLocationPermission();
}
} catch (SecurityException e) {
Log.e("Exception: %s", e.getMessage());
Expand Down

0 comments on commit 5790ff2

Please sign in to comment.