diff options
| author | Keith Packard <keithp@keithp.com> | 2017-05-27 00:27:04 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2017-05-27 00:27:04 -0700 | 
| commit | b6b5c64f93fa56bcb22ea1c4279e4f754e6e6f1c (patch) | |
| tree | 6ec6ecb767be291c8712030e0097fae051652637 /altoslib/AltosMapStore.java | |
| parent | 8b4dcca73c65e87462d5f8d08dbc025aa8cf08a6 (diff) | |
altosdroid: Deal with AltosState changes
cal data split out from altos state.
altos state needed to have no-arguments constructor for JSON code.
Also messed with voice to make it stay quiet during app startup.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosMapStore.java')
| -rw-r--r-- | altoslib/AltosMapStore.java | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/altoslib/AltosMapStore.java b/altoslib/AltosMapStore.java index 7cce05a5..460c52b6 100644 --- a/altoslib/AltosMapStore.java +++ b/altoslib/AltosMapStore.java @@ -91,6 +91,7 @@ public class AltosMapStore {  	static Object	forbidden_lock = new Object();  	static long	forbidden_time;  	static boolean	forbidden_set; +	public static int forbidden_response;  	private int fetch_url() {  		URL u; @@ -116,6 +117,7 @@ public class AltosMapStore {  					synchronized (forbidden_lock) {  						forbidden_time = System.nanoTime();  						forbidden_set = true; +						forbidden_response = response;  						return AltosMapTile.forbidden;  					}  				} | 
