xml formatting and comments for IITC_Application

This commit is contained in:
Philipp Schaefer
2013-10-23 09:05:35 +02:00
parent 1b1c850532
commit 499ff6f09d
2 changed files with 49 additions and 44 deletions

View File

@ -5,6 +5,12 @@ import android.preference.PreferenceManager;
import java.io.File;
/*
* To write the WebView cache to external storage we need to override the
* getCacheDir method of the main application. Some internal Android code seems
* to call getApplicationContext().getCacheDir(); instead of
* getContext().getCacheDir(); to decide where to store and read cached files.
*/
public class IITC_Application extends Application {
@Override
public File getCacheDir() {