owncloud/android — pull request #796 by LukeOwncloud (2014-12-10 15:57:41+00:00)
Title: Disable auto folder refresh when offline

Improves offline behavior. When last sync failed, oc stops to try refreshing folders when browsing up and down through directories. When refreshing via swipe down or when connectivity change was detected sync is retried automatically.

Tell FileDisplayActivity about failed sync.
Save failure and only retry after connectivity changed or explicit refresh (that is, do try refreshing when browsing through directories)