diff options
author | cyBerta <richy@cyborgsociety.org> | 2013-11-26 13:37:56 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-12-04 16:00:48 +0100 |
commit | 371a37fb024d3bf0609efbdb877d69b36a844f10 (patch) | |
tree | d32e81bf95e3ea874e858cf9474fe97bf7c08efe /src | |
parent | 1df0766479f0235bd7e2afcaecce1eaebacb9ffc (diff) |
set key icon also on state EXITING
Diffstat (limited to 'src')
-rw-r--r-- | src/se/leap/openvpn/OpenVpnService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/openvpn/OpenVpnService.java b/src/se/leap/openvpn/OpenVpnService.java index 1ef291df..f363cd16 100644 --- a/src/se/leap/openvpn/OpenVpnService.java +++ b/src/se/leap/openvpn/OpenVpnService.java @@ -106,7 +106,7 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac String ns = Context.NOTIFICATION_SERVICE; mNotificationManager = (NotificationManager) getSystemService(ns); int icon; - if (state.equals("NOPROCESS") || state.equals("AUTH_FAILED") || state.equals("NONETWORK")){ + if (state.equals("NOPROCESS") || state.equals("AUTH_FAILED") || state.equals("NONETWORK") || state.equals("EXITING")){ icon = R.drawable.ic_vpn_disconnected; }else{ icon = R.drawable.ic_stat_vpn; |