|  |  | @ -1,5 +1,6 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | package org.thoughtcrime.securesms.components.location; |  |  |  | package org.thoughtcrime.securesms.components.location; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import android.net.Uri; | 
			
		
	
		
		
			
				
					
					|  |  |  | import android.support.annotation.NonNull; |  |  |  | import android.support.annotation.NonNull; | 
			
		
	
		
		
			
				
					
					|  |  |  | import android.support.annotation.Nullable; |  |  |  | import android.support.annotation.Nullable; | 
			
		
	
		
		
			
				
					
					|  |  |  | import android.text.TextUtils; |  |  |  | import android.text.TextUtils; | 
			
		
	
	
		
		
			
				
					|  |  | @ -16,7 +17,7 @@ import java.io.IOException; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | public class SignalPlace { |  |  |  | public class SignalPlace { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   private static final String URL = "https://maps.google.com/maps?q=%s,%s"; |  |  |  |   private static final String URL = "https://maps.google.com/maps"; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   private static final String TAG = SignalPlace.class.getSimpleName(); |  |  |  |   private static final String TAG = SignalPlace.class.getSimpleName(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   @JsonProperty |  |  |  |   @JsonProperty | 
			
		
	
	
		
		
			
				
					|  |  | @ -57,7 +58,10 @@ public class SignalPlace { | 
			
		
	
		
		
			
				
					
					|  |  |  |       description += (address + "\n"); |  |  |  |       description += (address + "\n"); | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     description += String.format(URL, latitude, longitude); |  |  |  |     description += Uri.parse(URL) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       .buildUpon() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       .appendQueryParameter("q", String.format("%s,%s", latitude, longitude)) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                       .build().toString(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     return description; |  |  |  |     return description; | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |