public static ColorFilter getColorFilter(@NonNull Drawable drawable) {
        if (Build.VERSION.SDK_INT >= 21) {
            return drawable.getColorFilter();
        } else {
            return null;
        }
    }
Returns the current color filter, or {@code null} if none set.

@return the current color filter, or {@code null} if none set
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/compat/DrawableCompat.java