diff options
Diffstat (limited to 'android')
-rw-r--r-- | android/Bootstrap/src/org/libreoffice/android/Bootstrap.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java index a51315bc4abd..ac5d027cb52a 100644 --- a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java +++ b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java @@ -143,6 +143,9 @@ public class Bootstrap extends NativeActivity argv = Arrays.copyOfRange(argv, 1, argv.length-1); } + // TMPDIR is used by osl_getTempDirURL() + putenv("TMPDIR=" + getCacheDir().getAbsolutePath()); + // argv[0] will be replaced by android_main() in lo-bootstrap.c by the // pathname of the mainLibrary. String[] newargv = new String[argv.length + 1]; |