Use SystemClock.currentThreadTimeMillis to calculate gif delay

This commit is contained in:
seven332 committed 2016-04-12 00:21:58 +08:00
1 parent 4b8e46d220
commit adbb1f11a5
1 file changed
+1 -1
@@ -309,7 +309,7 @@ public class ImageTexture implements Texture, Animatable {
mImage.advance();
long delay = mImage.getDelay();
long time = System.currentTimeMillis();
long time = SystemClock.currentThreadTimeMillis();
delay -= time - lastTime;
lastTime = time;
mFrameDirty.lazySet(true);