Use postInvalidate instead of postInvalidateOnAnimation.
We still support android 4.0, which does not implement postInvalidateOnAnimation.
This commit is contained in:
parent
fa65bc393b
commit
1ad2a6fb8b
@ -214,7 +214,7 @@ public final class CoverView extends View implements Handler.Callback {
|
||||
bitmap = generateBitmap(song);
|
||||
|
||||
mBitmapBucket.setSongBitmap(i, song, bitmap);
|
||||
postInvalidateOnAnimation();
|
||||
postInvalidate();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -466,7 +466,7 @@ public final class CoverView extends View implements Handler.Callback {
|
||||
}
|
||||
|
||||
if (invalidate)
|
||||
postInvalidateOnAnimation();
|
||||
postInvalidate();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user