mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	Add comments
This commit is contained in:
		
							parent
							
								
									071ecd38cb
								
							
						
					
					
						commit
						69cc480cdd
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -114,6 +114,7 @@ public class GPSExtractor { | |||
|             //Check what user's preference is for automatic location detection | ||||
|             boolean gpsPrefEnabled = gpsPreferenceEnabled(); | ||||
| 
 | ||||
|             //Check that currentLatitude and currentLongitude have been explicitly set by MyLocationListener and do not default to (0.0,0.0) | ||||
|             if (gpsPrefEnabled && currentLatitude != null && currentLongitude != null) { | ||||
|                 Log.d(TAG, "Current location values: Lat = " + currentLatitude + " Long = " + currentLongitude); | ||||
|                 return String.valueOf(currentLatitude) + "|" + String.valueOf(currentLongitude); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 misaochan
						misaochan