diff options
author | Sean Leonard <meanderingcode@aetherislands.net> | 2013-06-09 04:37:41 -0600 |
---|---|---|
committer | Sean Leonard <meanderingcode@aetherislands.net> | 2013-06-20 18:46:41 -0600 |
commit | 3fb8205af4d58a5fec930440fe05f766271eec2f (patch) | |
tree | dc0bb3ecdf4ee73a2534d67e9ed390743df2276e /src/se | |
parent | 276b8f7dbc7763e284f246a1c538bd06dd8be756 (diff) |
Get rid of app's own notification.
Only commented out. May want to try showing it until connection success.
Diffstat (limited to 'src/se')
-rw-r--r-- | src/se/leap/openvpn/OpenVpnService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/se/leap/openvpn/OpenVpnService.java b/src/se/leap/openvpn/OpenVpnService.java index a4aa8a32..08a5d62e 100644 --- a/src/se/leap/openvpn/OpenVpnService.java +++ b/src/se/leap/openvpn/OpenVpnService.java @@ -238,7 +238,7 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac mProfile = ProfileManager.get(profileUUID); - showNotification("Starting VPN " + mProfile.mName,"Starting VPN " + mProfile.mName, false,0); + //showNotification("Starting VPN " + mProfile.mName,"Starting VPN " + mProfile.mName, false,0); OpenVPN.addStateListener(this); @@ -487,7 +487,7 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac if("BYTECOUNT".equals(state)) { if(mDisplayBytecount) { - showNotification(logmessage,null,true,mConnecttime); + //showNotification(logmessage,null,true,mConnecttime); } } else { if("CONNECTED".equals(state)) { @@ -501,7 +501,7 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac // This also mean we are no longer connected, ignore bytecount messages until next // CONNECTED String ticker = getString(resid); - showNotification(getString(resid) +" " + logmessage,ticker,false,0); + //showNotification(getString(resid) +" " + logmessage,ticker,false,0); } } |