We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25d735f commit 05f0806Copy full SHA for 05f0806
1 file changed
android/libpag/src/main/java/org/libpag/PAGImageView.java
@@ -679,9 +679,9 @@ private boolean handleFrame(final int frame) {
679
flushBitmap.prepareToDraw();
680
}
681
renderBitmap = flushBitmap;
682
- }
683
- if (_cacheAllFramesInMemory && renderBitmap != null) {
684
- bitmapCache.put(frame, renderBitmap);
+ if (_cacheAllFramesInMemory && flushBitmap != null) {
+ bitmapCache.put(frame, flushBitmap);
+ }
685
686
return true;
687
0 commit comments