summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-01-07 16:02:21 +0100
committerArne Schwabe <arne@rfc2549.org>2013-01-07 16:02:21 +0100
commit6f5350d698dabd76981c0a26440165e90d2c2759 (patch)
treed8d24acbf9866cb109e6ec8fbeaa330806e5efca /src/de/blinkt/openvpn
parent23f4d798440207c00407cc7cb0c6493a7cf01d4e (diff)
Logs arguments to strings for minidump
Diffstat (limited to 'src/de/blinkt/openvpn')
-rw-r--r--src/de/blinkt/openvpn/OpenVPN.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/OpenVPN.java b/src/de/blinkt/openvpn/OpenVPN.java
index 342f02c0..82a8dfd8 100644
--- a/src/de/blinkt/openvpn/OpenVPN.java
+++ b/src/de/blinkt/openvpn/OpenVPN.java
@@ -1,6 +1,7 @@
package de.blinkt.openvpn;
import java.util.LinkedList;
+import java.util.Locale;
import java.util.Vector;
import android.content.Context;
@@ -78,7 +79,11 @@ public class OpenVPN {
else
return c.getString(mRessourceId,mArgs);
} else {
- return String.format("Log (no context) resid %d", mRessourceId);
+ String str = String.format(Locale.ENGLISH,"Log (no context) resid %d", mRessourceId);
+ if(mArgs !=null)
+ for(Object o:mArgs)
+ str += "|" + o.toString();
+ return str;
}
}
}