Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

RadaeePDF Master - jump to page is unexpected 1 year 1 week ago #15901

  • taagha
  • taagha's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
I found that the main issue comes from android.widget.Scroller. If the value of SystemClock.uptimeMillis() exceeds 25 days, on some devices, the value of AnimationUtils.currentAnimationTimeMillis() may sometimes exceed 2,200,000,000L. In the Scroller class, the value of AnimationUtils.currentAnimationTimeMillis() is occasionally cast to an int, which causes this bug. You should rewrite android Scroller and prevent from casting value of AnimationUtils.currentAnimationTimeMillis() to int.
to reproducing this bug you can rewrite Scroller and add AnimationUtils.currentAnimationTimeMillis() value with 2,200,000,000L and then you will see the bug.

Please Log in or Create an account to join the conversation.

Last edit: by taagha.
  • Page:
  • 1
  • 2
Powered by Kunena Forum