Refresh Stats in background. Also fixes an issue where the progress indicator is never stopped.
Add comment
Upgrade Stats when the app is moved from Background to Foreground. Also improved the code that handles application lifecycle events.
Switch back to the correct timeout
Remove comment
Refresh Stats in background. Also fixes an issue where the progress indicator is never stopped.
Add comment
Upgrade Stats when the app is moved from Background to Foreground. Also improved the code that handles application lifecycle events.
Switch back to the correct timeout
Remove comment
Add a timestamp that prevents refreshing stats in background if "last-refresh" time is less than 30 minutes.
Merge branch 'issue/1246-preloading-Stats' of https://github.com/wordpress-mobile/WordPress-Android into 1246-preloading-Stats

Conflicts:
	src/org/wordpress/android/WordPress.java
	src/org/wordpress/android/ui/WPActionBarActivity.java
Update the Stats timer when the user refreshes stats in Foreground.
remove Config.java generation, use BuildConfig.java instead
rename local.properties-example -> gradle.properties-example
use BuildConfig instead of Config
update readme with instructions to generate local.properties and init gradle.properties
remove retired build files
remove unused file: proguard-project.txt
The config wasn't working correctly, that's why we firt removed proguard from gradle.
If we want to re-introduce it, we'll have to correct it.
Merge branch 'develop' of https://github.com/wordpress-mobile/WordPress-Android into 1246-preloading-Stats

Conflicts:
	src/org/wordpress/android/WordPress.java