Fix crashing on profile, color on now playing themes

This commit is contained in:
h4h13 2019-07-17 00:21:04 +05:30
parent 00f33cab3e
commit b1cfa373b0
19 changed files with 114 additions and 81 deletions

View file

@ -220,7 +220,8 @@ public class ImageUtil {
return inSampleSize;
}
public static Bitmap getResizedBitmap(Bitmap image, int maxSize) {
@NonNull
public static Bitmap getResizedBitmap(@NonNull Bitmap image, int maxSize) {
int width = image.getWidth();
int height = image.getHeight();