[android] Revert 401a3a808d

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako 2024-01-07 12:37:25 -03:00 committed by Roman Tsisyk
parent 6daff5a969
commit 7a77556bb0

View file

@ -57,7 +57,11 @@ public class RoutingErrorDialogFragment extends BaseRoutingErrorDialogFragment
{
if (mNeedMoreMaps && mCancelled) {
mCancelled = false;
RoutingController.get().cancel();
/// @todo Actually, should cancel if there is no valid route only.
// I didn't realize how to distinguish NEED_MORE_MAPS but valid route is present.
// Should refactor RoutingController states.
//RoutingController.get().cancel();
}
super.onDismiss(dialog);