~cmiller/ubuntuone-android-music/cache-size-limit

Viewing all changes in revision 461.

  • Committer: Chad Miller
  • Date: 2010-10-08 20:36:31 UTC
  • Revision ID: chad.miller@canonical.com-20101008203631-mg17bnxyzrmoft94
For large SD cards, the computation of number of bytes free could overflow the 32bits Java was using to store the count.  Now, use long storage and divide by long constants to make sure we are working in space that can hold us.  (LP: #657023)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: