summaryrefslogtreecommitdiff
path: root/src/de/blinkt
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/blinkt')
-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.java4
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);
}