You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl/android/content/Context.java: implement getExternalCacheDir()
just alias to getCacheDir()
This commit is contained in:
@@ -221,6 +221,10 @@ public class Context extends Object {
|
||||
return cache_dir;
|
||||
}
|
||||
|
||||
public File getExternalCacheDir() {
|
||||
return getCacheDir();
|
||||
}
|
||||
|
||||
private File getPreferencesDir() {
|
||||
if (prefs_dir == null) {
|
||||
prefs_dir = new File(getDataDirFile(), "shared_prefs");
|
||||
|
||||
Reference in New Issue
Block a user