summaryrefslogtreecommitdiff
path: root/src/se/leap/openvpn/LogWindow.java
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2014-02-04 18:07:16 -0800
committerSean Leonard <meanderingcode@aetherislands.net>2014-02-04 18:07:16 -0800
commitc49e87b8fd272fabc3f674fa8103b455c3bb5304 (patch)
treed79c3f152c8a3fba149430b886b36905f4949cce /src/se/leap/openvpn/LogWindow.java
parentdbf1265f736c00aa31289e75818b1ec56311d31c (diff)
parent53be6c97314d2a0c96be8b7c9a3c7e5ae493c901 (diff)
Merge branch 'feature/remove-legacy-ics-openvpn-classes-that-wont-be-used' into develop
Also merge branch 'feature/change-or-remove-user-facing-references-to-ics-android' into develop
Diffstat (limited to 'src/se/leap/openvpn/LogWindow.java')
-rw-r--r--src/se/leap/openvpn/LogWindow.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/se/leap/openvpn/LogWindow.java b/src/se/leap/openvpn/LogWindow.java
index c3ce8424..b87c4999 100644
--- a/src/se/leap/openvpn/LogWindow.java
+++ b/src/se/leap/openvpn/LogWindow.java
@@ -82,7 +82,7 @@ public class LogWindow extends ListActivity implements StateListener {
private void shareLog() {
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.putExtra(Intent.EXTRA_TEXT, getLogStr());
- shareIntent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.ics_openvpn_log_file));
+ shareIntent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.bitmask_openvpn_log_file));
shareIntent.setType("text/plain");
startActivity(Intent.createChooser(shareIntent, "Send Logfile"));
}
@@ -227,18 +227,6 @@ public class LogWindow extends ListActivity implements StateListener {
} else if(item.getItemId()==R.id.send) {
ladapter.shareLog();
- } else if(item.getItemId()==R.id.edit_vpn) {
- VpnProfile lastConnectedprofile = ProfileManager.getLastConnectedVpn();
-
- if(lastConnectedprofile!=null) {
- Intent vprefintent = new Intent(this,VPNPreferences.class)
- .putExtra(VpnProfile.EXTRA_PROFILEUUID,lastConnectedprofile.getUUIDString());
- startActivityForResult(vprefintent,START_VPN_CONFIG);
- } else {
- Toast.makeText(this, R.string.log_no_last_vpn, Toast.LENGTH_LONG).show();
- }
-
-
}
return super.onOptionsItemSelected(item);