use of com.alexstyl.specialdates.theming.MementoTheme in project Memento-Calendar by alexstyl.
the class PersonModule method callProvider.
@Provides
PersonCallProvider callProvider(ContentResolver contentResolver, Resources resources, Context context, PackageManager packageManager, CrashAndErrorTracker tracker, Strings strings) {
MementoTheme theme = ThemingPreferences.newInstance(context).getSelectedTheme();
ContextThemeWrapper wrapper = new ContextThemeWrapper(context, theme.androidTheme());
return new PersonCallProvider(new AndroidContactActionsProvider(contentResolver, resources, wrapper, packageManager, tracker), new FacebookContactActionsProvider(strings, resources));
}
Aggregations