Add missing annotation

This commit is contained in:
Anthony Restaino 2016-01-27 23:26:43 -05:00
parent ff3d94635a
commit 12c2ada750

View File

@ -60,6 +60,7 @@ public class ThemeUtils {
icon.setColorFilter(color, PorterDuff.Mode.SRC_IN);
}
@NonNull
public static Bitmap getThemedBitmap(@NonNull Context context, @DrawableRes int res, boolean dark) {
int color = dark ? getIconDarkThemeColor(context) : getIconLightThemeColor(context);
Bitmap sourceBitmap = BitmapFactory.decodeResource(context.getResources(), res);