mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	Merge branch 'master' into dependency-injection
This commit is contained in:
		
						commit
						02b5b9b680
					
				
					 148 changed files with 1169 additions and 364 deletions
				
			
		|  | @ -15,6 +15,7 @@ import fr.free.nrw.commons.auth.AccountUtil; | |||
| import fr.free.nrw.commons.auth.SessionManager; | ||||
| import fr.free.nrw.commons.caching.CacheController; | ||||
| import fr.free.nrw.commons.data.DBOpenHelper; | ||||
| import fr.free.nrw.commons.location.LocationServiceManager; | ||||
| import fr.free.nrw.commons.mwapi.ApacheHttpClientMediaWikiApi; | ||||
| import fr.free.nrw.commons.mwapi.MediaWikiApi; | ||||
| import fr.free.nrw.commons.nearby.NearbyPlaces; | ||||
|  | @ -71,6 +72,12 @@ public class CommonsApplicationModule { | |||
|         return new ApacheHttpClientMediaWikiApi(BuildConfig.WIKIMEDIA_API_HOST); | ||||
|     } | ||||
| 
 | ||||
|     @Provides | ||||
|     @Singleton | ||||
|     public LocationServiceManager provideLocationServiceManager() { | ||||
|         return new LocationServiceManager(application); | ||||
|     } | ||||
| 
 | ||||
|     @Provides | ||||
|     @Singleton | ||||
|     public CacheController provideCacheController() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Paul Hawke
						Paul Hawke