fix: prevents infinite recursion when getting the location permission (#1813)

* fix: prevents infinite recursion when getting the location permission

* remove unnecessary imports
This commit is contained in:
Dale Hawkins 2024-09-19 12:21:52 -06:00 committed by GitHub
parent 561e82926e
commit 5790ff2ad7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -440,7 +440,6 @@ public class MapsActivityCurrentPlace extends AppCompatActivity
map.setMyLocationEnabled(false);
map.getUiSettings().setMyLocationButtonEnabled(false);
lastKnownLocation = null;
getLocationPermission();
}
} catch (SecurityException e) {
Log.e("Exception: %s", e.getMessage());