removed default cache, since we cache tiles on our own it's not needed anymore

This commit is contained in:
Philipp Schaefer
2013-12-21 17:25:31 +01:00
parent fa89fc67d8
commit 3e5124022d
6 changed files with 2 additions and 74 deletions

View File

@ -12,15 +12,6 @@ import java.io.File;
* getContext().getCacheDir(); to decide where to store and read cached files.
*/
public class IITC_Application extends Application {
@Override
public File getCacheDir() {
if (PreferenceManager.getDefaultSharedPreferences(this).getBoolean("pref_external_storage", false)) {
return (getExternalCacheDir() != null) ? getExternalCacheDir() : super.getCacheDir();
} else {
return super.getCacheDir();
}
}
@Override
public File getFilesDir() {
if (PreferenceManager.getDefaultSharedPreferences(this).getBoolean("pref_external_storage", false)) {