remove CustomTabsHelper & ResourcesUtils (#1157)

This commit is contained in:
Konrad Pozniak 2019-03-30 15:18:40 +01:00 committed by GitHub
commit 475bff00dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 188 deletions

View file

@ -87,11 +87,6 @@ public class ThemeUtils {
return value.resourceId;
}
public static @ColorInt int getColorById(@NonNull Context context, String name) {
return getColor(context,
ResourcesUtils.getResourceIdentifier(context, "attr", name));
}
/** this can be replaced with drawableTint in xml once minSdkVersion >= 23 */
public static @Nullable Drawable getTintedDrawable(@NonNull Context context, @DrawableRes int drawableId, @AttrRes int colorAttr) {
Drawable drawable = context.getDrawable(drawableId);