[android] Remove unused LocationListener.onLocationError()

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
This commit is contained in:
Roman Tsisyk 2022-10-05 11:38:15 +03:00 committed by Alexander Borsuk
parent a2c3e31e26
commit 6b36cd2f6c
5 changed files with 0 additions and 23 deletions

View file

@ -306,10 +306,6 @@ public enum LocationHelper implements Initializable<Context>, AppBackgroundTrack
nativeOnLocationError(errCode);
if (mUiCallback != null)
mUiCallback.onLocationError(errCode);
for (LocationListener listener : mListeners)
listener.onLocationError(errCode);
mListeners.finishIterate();
}
private void notifyMyPositionModeChanged(int newMode)

View file

@ -11,12 +11,8 @@ public interface LocationListener
@Override
public void onCompassUpdated(long time, double north) {}
@Override
public void onLocationError(int errorCode) {}
}
void onLocationUpdated(Location location);
void onCompassUpdated(long time, double north);
void onLocationError(int errorCode);
}

View file

@ -69,12 +69,6 @@ public class NavigationService extends Service
updateNotification(routingInfo);
}
}
@Override
public void onLocationError(int errorCode)
{
Logger.e(TAG, "onLocationError() errorCode: " + errorCode);
}
};
public class LocalBinder extends Binder

View file

@ -135,7 +135,4 @@ public class DirectionFragment extends BaseMwmDialogFragment
if (da.getAzimuth() >= 0)
mAvDirection.setAzimuth(da.getAzimuth());
}
@Override
public void onLocationError(int errorCode) {}
}

View file

@ -257,12 +257,6 @@ public class RichPlacePageController implements PlacePageController, LocationLis
mPlacePage.refreshAzimuth(north);
}
@Override
public void onLocationError(int errorCode)
{
// Do nothing by default.
}
@Override
public void onSave(@NonNull Bundle outState)
{