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: add getExternalFilesDirs
This commit is contained in:
@@ -257,6 +257,10 @@ public class Context extends Object {
|
|||||||
return getFilesDir();
|
return getFilesDir();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public File[] getExternalFilesDirs(String type) {
|
||||||
|
return new File[] {getExternalFilesDir(type)};
|
||||||
|
}
|
||||||
|
|
||||||
public File getObbDir() {
|
public File getObbDir() {
|
||||||
if (obb_dir == null) {
|
if (obb_dir == null) {
|
||||||
obb_dir = new File(getDataDirFile(), "Android/obb/" + getPackageName());
|
obb_dir = new File(getDataDirFile(), "Android/obb/" + getPackageName());
|
||||||
|
|||||||
Reference in New Issue
Block a user