diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2012-06-23 11:01:37 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2012-06-23 14:16:00 +0200 |
| commit | 9e56c969925f6aebd1c218ec21c2bd300468836e (patch) | |
| tree | 27c411cc59a299974607145110be7919c0651a4c /main/src/cgeo/geocaching/GeoDataProvider.java | |
| parent | c8f1047be68003f06f0e206e610914efc50f58d8 (diff) | |
| download | cgeo-9e56c969925f6aebd1c218ec21c2bd300468836e.zip cgeo-9e56c969925f6aebd1c218ec21c2bd300468836e.tar.gz cgeo-9e56c969925f6aebd1c218ec21c2bd300468836e.tar.bz2 | |
Reclaim bitmap memory in onStop() rather than in onDestroy()
onDestroy() might be called only when the system is low in main memory,
while we want to free the bitmap memory as soon as we do not need it
anymore. Since the images are cached on the local filesystem, redrawing
them after we come back from the image viewer does not take long.
Diffstat (limited to 'main/src/cgeo/geocaching/GeoDataProvider.java')
0 files changed, 0 insertions, 0 deletions
