summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-07-06 22:08:23 +0200
committerArne Schwabe <arne@rfc2549.org>2014-07-06 22:08:23 +0200
commit7efb77686920c025bdc961284c88e3867aa9d74c (patch)
tree71e354b5698163eeb1bac7eeefaf3bb3f512cbfe
parent24f13ffd905497d6f4ecd19291845a60e8275c55 (diff)
Include package name in send dump email
-rw-r--r--main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java1
-rw-r--r--main/src/main/java/de/blinkt/openvpn/fragments/SendDumpFragment.java2
-rw-r--r--main/src/main/res/layout/basic_settings.xml2
3 files changed, 2 insertions, 3 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java b/main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java
index b572c098..82b9f060 100644
--- a/main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java
+++ b/main/src/main/java/de/blinkt/openvpn/api/ExternalOpenVPNService.java
@@ -111,7 +111,6 @@ public class ExternalOpenVPNService extends Service implements StateListener {
public void startProfile(String profileUUID) throws RemoteException {
checkOpenVPNPermission();
-
VpnProfile vp = ProfileManager.get(getBaseContext(), profileUUID);
VPNLaunchHelper.startOpenVpn(vp, getBaseContext());
}
diff --git a/main/src/main/java/de/blinkt/openvpn/fragments/SendDumpFragment.java b/main/src/main/java/de/blinkt/openvpn/fragments/SendDumpFragment.java
index d43f6427..b4175f19 100644
--- a/main/src/main/java/de/blinkt/openvpn/fragments/SendDumpFragment.java
+++ b/main/src/main/java/de/blinkt/openvpn/fragments/SendDumpFragment.java
@@ -53,7 +53,7 @@ public class SendDumpFragment extends Fragment {
}
- emailIntent.putExtra(Intent.EXTRA_SUBJECT, String.format("%s %s Minidump",name,version));
+ emailIntent.putExtra(Intent.EXTRA_SUBJECT, String.format("%s(%s) %s Minidump",name, getActivity().getPackageName(), version));
emailIntent.putExtra(Intent.EXTRA_TEXT, "Please describe the issue you have experienced");
diff --git a/main/src/main/res/layout/basic_settings.xml b/main/src/main/res/layout/basic_settings.xml
index 86e0640e..c6192dc2 100644
--- a/main/src/main/res/layout/basic_settings.xml
+++ b/main/src/main/res/layout/basic_settings.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:blinkt="http://schemas.android.com/apk/res-auto"
+ xmlns:b linkt="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >