app/src/main/java/com/ncnf/utilities/user/LocationService.java
Method getLocation
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void getLocation() {
LocationRequest mLocationRequestHighAccuracy = new LocationRequest();
mLocationRequestHighAccuracy.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
mLocationRequestHighAccuracy.setInterval(UPDATE_INTERVAL);
mLocationRequestHighAccuracy.setFastestInterval(FASTEST_INTERVAL);