fix(syncforreddit/change-oauth-client-id): use downloads directory
This fixes permission errors on Android
This commit is contained in:
parent
b2c7a6a54f
commit
28abefeab0
2 changed files with 7 additions and 2 deletions
|
|
@ -3,7 +3,9 @@ package android.os;
|
|||
import java.io.File;
|
||||
|
||||
public final class Environment {
|
||||
public static File getExternalStorageDirectory() {
|
||||
public static String DIRECTORY_DOWNLOADS = "Download";
|
||||
|
||||
public static File getExternalStoragePublicDirectory(final String type) {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue