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
src/api-impl: misc stubbing
This commit is contained in:
@@ -622,8 +622,8 @@ public class Environment {
|
||||
* {@link #MEDIA_BAD_REMOVAL}, or {@link #MEDIA_UNMOUNTABLE}.
|
||||
*/
|
||||
public static String getExternalStorageState() {
|
||||
final File externalDir = sCurrentUser.getExternalDirsForApp()[0];
|
||||
return getStorageState(externalDir);
|
||||
// we don't do stupid stuff like having this on a separate partition, so it should always be "mounted"
|
||||
return MEDIA_MOUNTED;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user