diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-12-24 07:47:50 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-12-24 07:47:50 +0100 |
commit | 3dbb55fe35b12e5fcbf38e7ecf8de043b16327de (patch) | |
tree | 31606652e4f498a74912edc9727635fb13a9b035 /src/de/blinkt/openvpn/MainActivity.java | |
parent | 174a0c8a3807df22ebd5731e139c0f0bb511f85b (diff) |
Make send mini dump work with non Gmail Mail app, make google sending better placed
Diffstat (limited to 'src/de/blinkt/openvpn/MainActivity.java')
-rw-r--r-- | src/de/blinkt/openvpn/MainActivity.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/MainActivity.java b/src/de/blinkt/openvpn/MainActivity.java index 9b329817..32cf575b 100644 --- a/src/de/blinkt/openvpn/MainActivity.java +++ b/src/de/blinkt/openvpn/MainActivity.java @@ -1,8 +1,11 @@ package de.blinkt.openvpn; +import java.io.File; +import java.util.ArrayList; import java.util.List; import android.content.Intent; +import android.net.Uri; import android.preference.PreferenceActivity; public class MainActivity extends PreferenceActivity { @@ -19,6 +22,15 @@ public class MainActivity extends PreferenceActivity { translation.summary = translatedby; target.add(translation); } + + if(SendDumpActivity.getLastestDump(this)!=null) { + Header sendDump = new Header(); + sendDump.titleRes = R.string.send_minidump; + sendDump.summaryRes = R.string.send_minidump_summary; + sendDump.intent = new Intent(this,SendDumpActivity.class); + target.add(sendDump); + } + } @Override @@ -29,4 +41,6 @@ public class MainActivity extends PreferenceActivity { } + + } |