aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/backup
Commit message (Collapse)AuthorAgeFilesLines
* fix #2317: NPE while backuping dataSamuel Tardieu2013-01-231-2/+2
| | | | | | | | | | | The previous fix for #2317 was incomplete, as the dependency of the CentralBackupAgent onto Settings caused a NPE because Settings static initializations require that an application has been created, which is apparently not the case when a backup is launched by the OS. The preference name has been isolated into a no-dependency package so that the CentralBackupAgent does not depend on an application existing anymore.
* refactoring: minor lint cleanupsBananeweizen2012-06-291-0/+2
| | | * If you get compile errors, upgrade to ADT 20 and SDK 20
* fix #1038: use shared preferences with correct typesBananeweizen2012-04-111-2/+2
| | | Everyone please don't store boolean options as integer anymore!
* fix #120: make settings static (no singleton)Bananeweizen2011-10-031-2/+2
| | | | | | | | | | * Settings can no longer be instantiated, everything is static instead. * Most option values are no longer cached in fields. This has been done for clarity during the refactoring. I will add some performance tests afterwards and may re-introduce those fields for caching the option values. Sorry, if anyone gets merge issues afterwards. There was no easier way to implement this...
* Use Google backup agent to backup preferencesSamuel Tardieu2011-09-201-0/+18
This will do nothing if the SDK API < 8.