diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-05-06 23:27:26 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-05-06 23:27:26 +0200 |
commit | ffcd37e623136697da66e0c23bddc92b01ff0e41 (patch) | |
tree | e30761d743b02f3ea52fdae73a7ac5f631b1d1c8 /src | |
parent | b9b682d86d5dc95e0ed6875795691f1f17d7825c (diff) |
Fix spelling of sate to state
--HG--
rename : src/de/blinkt/openvpn/core/NetworkSateReceiver.java => src/de/blinkt/openvpn/core/NetworkStateReceiver.java
extra : rebase_source : 5a23bc869e5631048de0e0df2a56702e01fad9df
Diffstat (limited to 'src')
-rw-r--r-- | src/de/blinkt/openvpn/core/NetworkStateReceiver.java (renamed from src/de/blinkt/openvpn/core/NetworkSateReceiver.java) | 4 | ||||
-rw-r--r-- | src/de/blinkt/openvpn/core/OpenVpnService.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/de/blinkt/openvpn/core/NetworkSateReceiver.java b/src/de/blinkt/openvpn/core/NetworkStateReceiver.java index aa828495..092de92d 100644 --- a/src/de/blinkt/openvpn/core/NetworkSateReceiver.java +++ b/src/de/blinkt/openvpn/core/NetworkStateReceiver.java @@ -10,13 +10,13 @@ import android.net.NetworkInfo.State; import android.preference.PreferenceManager;
import de.blinkt.openvpn.R;
-public class NetworkSateReceiver extends BroadcastReceiver {
+public class NetworkStateReceiver extends BroadcastReceiver {
private int lastNetwork=-1;
private OpenVPNMangement mManangement;
private String lastStateMsg=null;
- public NetworkSateReceiver(OpenVPNMangement magnagement) {
+ public NetworkStateReceiver(OpenVPNMangement magnagement) {
super();
mManangement = magnagement;
}
diff --git a/src/de/blinkt/openvpn/core/OpenVpnService.java b/src/de/blinkt/openvpn/core/OpenVpnService.java index 103be071..dcf53d16 100644 --- a/src/de/blinkt/openvpn/core/OpenVpnService.java +++ b/src/de/blinkt/openvpn/core/OpenVpnService.java @@ -59,7 +59,7 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac private int mMtu; private String mLocalIPv6=null; - private NetworkSateReceiver mNetworkStateReceiver; + private NetworkStateReceiver mNetworkStateReceiver; private boolean mDisplayBytecount=false; @@ -229,7 +229,7 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac synchronized void registerNetworkStateReceiver(OpenVPNMangement magnagement) { // Registers BroadcastReceiver to track network connection changes. IntentFilter filter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); - mNetworkStateReceiver = new NetworkSateReceiver(magnagement); + mNetworkStateReceiver = new NetworkStateReceiver(magnagement); registerReceiver(mNetworkStateReceiver, filter); } |