summaryrefslogtreecommitdiff
path: root/src/se/leap/openvpn/OpenVpnService.java
diff options
context:
space:
mode:
authorcyBerta <richy@cyborgsociety.org>2013-11-30 01:47:29 +0100
committercyBerta <richy@cyborgsociety.org>2013-11-30 01:47:29 +0100
commit7b95df801bb5db47cce68814b7fc5a472d92c196 (patch)
tree2a5add2db43bb4ca1a9e4977dc878aaa17a3e57a /src/se/leap/openvpn/OpenVpnService.java
parent8462f8a65eacbc47d8e63db058584bed0898e279 (diff)
parentf9f69298e7d0b5e4258ea27095f50f9da7c6ff9b (diff)
Merge branch 'feature/clearer-wording' of https://github.com/parmegv/bitmask_android into feature/clearer_wording
Diffstat (limited to 'src/se/leap/openvpn/OpenVpnService.java')
-rw-r--r--src/se/leap/openvpn/OpenVpnService.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/se/leap/openvpn/OpenVpnService.java b/src/se/leap/openvpn/OpenVpnService.java
index 620de204..1ef291df 100644
--- a/src/se/leap/openvpn/OpenVpnService.java
+++ b/src/se/leap/openvpn/OpenVpnService.java
@@ -350,12 +350,13 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac
bconfig[4] = getString(R.string.routes_info, joinString(mRoutes));
bconfig[5] = getString(R.string.routes_info6, joinString(mRoutesv6));
- String session = mProfile.mName;
+ String session = mProfile.mLocation;
+ /* we don't want the IP address in the notification bar
if(mLocalIP!=null && mLocalIPv6!=null)
session = getString(R.string.session_ipv6string,session, mLocalIP, mLocalIPv6);
else if (mLocalIP !=null)
session= getString(R.string.session_ipv4string, session, mLocalIP);
-
+ */
builder.setSession(session);