mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
#3222 remove lingering reference to depiction content provider
This commit is contained in:
parent
02a0042d3c
commit
bc8b29b71f
2 changed files with 8 additions and 22 deletions
|
|
@ -4,24 +4,10 @@ import android.app.Activity;
|
|||
import android.content.ContentProviderClient;
|
||||
import android.content.Context;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
|
||||
import androidx.collection.LruCache;
|
||||
import androidx.room.Room;
|
||||
|
||||
import com.github.varunpant.quadtree.QuadTree;
|
||||
import com.google.gson.Gson;
|
||||
|
||||
import org.wikipedia.AppAdapter;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
import javax.inject.Named;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
import dagger.Module;
|
||||
import dagger.Provides;
|
||||
import fr.free.nrw.commons.BuildConfig;
|
||||
|
|
@ -41,6 +27,14 @@ import fr.free.nrw.commons.wikidata.WikidataEditListenerImpl;
|
|||
import io.reactivex.Scheduler;
|
||||
import io.reactivex.android.schedulers.AndroidSchedulers;
|
||||
import io.reactivex.schedulers.Schedulers;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import javax.inject.Named;
|
||||
import javax.inject.Singleton;
|
||||
import org.wikipedia.AppAdapter;
|
||||
|
||||
/**
|
||||
* The Dependency Provider class for Commons Android.
|
||||
|
|
@ -114,12 +108,6 @@ public class CommonsApplicationModule {
|
|||
* @param context context
|
||||
* @return DepictsContentProviderClient*/
|
||||
|
||||
@Provides
|
||||
@Named("depictions")
|
||||
public ContentProviderClient provideDepictsContentProviderClient(Context context) {
|
||||
return context.getContentResolver().acquireContentProviderClient(BuildConfig.DEPICTION_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is used to provide instance of RecentSearchContentProviderClient
|
||||
* which provides content of Recent Searches from database
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue