Geekner/Something-Awful-Android — pull request #8 by jamesmoran (2012-12-30 15:59:48+00:00)
Title: somewhat fixed problem with forums browser refreshing

To copy/paste from the forums:

"Just to clarify, this is relating to the app constantly refreshing. It may or may not be the same bug as the quote describes.

update: So this seems to being caused by the 'syncForumsIfStale()' method in ForumDisplayActivity. Commenting this method call out in onLoadFinished() stops the constant refreshing, so I'm guessing whatever is doing the refresh is either not setting the time of the last refresh correctly, or is not reporting the load as succeeding. EDIT: debugging shows that it's definitely a problem with the last refresh time. The app is set to refresh the thread index if it hasn't been refreshed in the past 5 minutes, but time of the last refresh is always set to the same value (which is probably loaded from storage, which would explain why clearing app data also fixes the problem) and since it is called in the onLoadFinished() method, it refreshes after every load..."