altosdroid: Fix offline map messages to match new meanings
authorKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2018 04:30:03 +0000 (21:30 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2018 04:33:08 +0000 (21:33 -0700)
forbidden means outside of launch area.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosdroid/src/org/altusmetrum/AltosDroid/AltosMapOffline.java

index d62bf25..39392ff 100644 (file)
@@ -160,11 +160,10 @@ public class AltosMapOffline extends View implements ScaleGestureDetector.OnScal
                                                message = "Internal error";
                                                break;
                                        case AltosMapTile.failed:
-                                               message = "Network error, check connection";
+                                               message = "Network error";
                                                break;
                                        case AltosMapTile.forbidden:
-                                               message = "Too many requests, try later";
-                                               AltosDebug.debug("Forbidden map response %d\n", AltosMapStore.forbidden_response);
+                                               message = "Outside of launch area";
                                                break;
                                        }
                                        if (message != null) {