summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-01-31 13:57:11 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-01-31 14:05:39 +0200
commit427edef2c780b40513af0491d5cbe865233d0650 (patch)
tree6de16d7b9b0c176f7d23f824425baf0d82e47582 /android
parentNo need to wait for debugger here on Android, this code does seem to work (diff)
downloadcore-427edef2c780b40513af0491d5cbe865233d0650.tar.gz
core-427edef2c780b40513af0491d5cbe865233d0650.zip
putenv() does seem to be process-wide
Diffstat (limited to 'android')
-rw-r--r--android/Bootstrap/src/org/libreoffice/android/Bootstrap.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
index 9e210565f7ca..a51315bc4abd 100644
--- a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
+++ b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
@@ -136,10 +136,7 @@ public class Bootstrap extends NativeActivity
String[] argv = CommandLine.split(cmdLine);
- // Handle env var assignments in the command line. Actually
- // not sure if this works, are environments per-thread in
- // Android? This code runs in a different thread than that in
- // which lo_main etc will run.
+ // Handle env var assignments in the command line.
while (argv.length > 0 &&
argv[0].matches("[A-Z_]+=.*")) {
putenv(argv[0]);