Fix issue where beta prod flavour could not be installed at the same time (#1841)

This commit is contained in:
Vivek Maskara 2018-08-20 16:29:14 +05:30 committed by neslihanturan
parent 73d5eb54f8
commit e13e2c2f40
4 changed files with 8 additions and 8 deletions

View file

@ -11,7 +11,6 @@ import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import fr.free.nrw.commons.BuildConfig;
import fr.free.nrw.commons.auth.AccountUtil;
import fr.free.nrw.commons.auth.SessionManager;
@ -24,7 +23,6 @@ import fr.free.nrw.commons.wikidata.WikidataEditListener;
import fr.free.nrw.commons.wikidata.WikidataEditListenerImpl;
import static android.content.Context.MODE_PRIVATE;
import static fr.free.nrw.commons.explore.recentsearches.RecentSearchesContentProvider.RECENT_SEARCH_AUTHORITY;
@Module
@SuppressWarnings({"WeakerAccess", "unused"})
@ -60,7 +58,7 @@ public class CommonsApplicationModule {
@Provides
@Named("recentsearch")
public ContentProviderClient provideRecentSearchContentProviderClient(Context context) {
return context.getContentResolver().acquireContentProviderClient(RECENT_SEARCH_AUTHORITY);
return context.getContentResolver().acquireContentProviderClient(BuildConfig.RECENT_SEARCH_AUTHORITY);
}
@Provides