diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-12-26 04:58:57 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-12-26 04:58:57 +0100 |
commit | 8a94d6c21681896f60054c18e2495ef8c53e6f7c (patch) | |
tree | 42f3214fe619e402d8f02f2164097e4717d07c16 /src/de/blinkt/openvpn/MainActivity.java | |
parent | fd7570835b7e7fdd335b55bc006791ecb402277b (diff) | |
parent | 58131bfbde80b433992ab2e7deabb0b63aac072e (diff) |
Return to the old icon, I do not like the new ones yet...
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 { } + + } |