mirror of
https://github.com/ultrasonic/ultrasonic
synced 2024-12-28 09:40:27 +01:00
Merge branch 'develop' into fix/edit_server
This commit is contained in:
commit
4b85bc16d5
@ -120,11 +120,11 @@ public class LegacyImageLoader implements Runnable, ImageLoader {
|
||||
}
|
||||
|
||||
private void createLargeUnknownImage(Context context) {
|
||||
BitmapDrawable drawable = (BitmapDrawable) context.getResources().getDrawable(R.drawable.unknown_album);
|
||||
Drawable drawable = context.getResources().getDrawable(R.drawable.unknown_album);
|
||||
Log.i(TAG, "createLargeUnknownImage");
|
||||
|
||||
if (drawable != null) {
|
||||
largeUnknownImage = Util.scaleBitmap(drawable.getBitmap(), imageSizeLarge);
|
||||
largeUnknownImage = Util.createBitmapFromDrawable(drawable);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user