Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
ba4de13cc3
@ -1125,6 +1125,7 @@ public class LiveGiftAnimPresenter {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
GifCacheUtil.getFile(Constants.GIF_GIFT_PREFIX + bean.getGiftId(), url, "1", mDownloadGifCallback);
|
GifCacheUtil.getFile(Constants.GIF_GIFT_PREFIX + bean.getGiftId(), url, "1", mDownloadGifCallback);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1234,7 +1235,13 @@ public class LiveGiftAnimPresenter {
|
|||||||
public void onFinished() {
|
public void onFinished() {
|
||||||
mSVGAImageView.clear();
|
mSVGAImageView.clear();
|
||||||
mSVGAImageView.setVisibility(View.GONE);
|
mSVGAImageView.setVisibility(View.GONE);
|
||||||
mShowGif = false;
|
long diffTime = 4000 - (System.currentTimeMillis() - mSvgaPlayTime);
|
||||||
|
if (diffTime < 0) {
|
||||||
|
diffTime = 0;
|
||||||
|
}
|
||||||
|
if (mHandler != null) {
|
||||||
|
mHandler.sendEmptyMessageDelayed(WHAT_GIF, diffTime);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user