summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-08-14 10:33:10 +0200
committerArne Schwabe <arne@rfc2549.org>2013-08-14 10:33:10 +0200
commit128cffe34eaaa02f32aa7fd456bccecd6c86660e (patch)
tree21b7e5479d1bfdd6ba6efab44857d533801cea65 /src
parenta3f746b6d8dbd9dca9625c25cf76130c28121597 (diff)
prepare for version 0.5.41v0.5.41
Diffstat (limited to 'src')
-rw-r--r--src/de/blinkt/openvpn/core/DeviceStateReceiver.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/core/DeviceStateReceiver.java b/src/de/blinkt/openvpn/core/DeviceStateReceiver.java
index 3e434ebc..2c1db63c 100644
--- a/src/de/blinkt/openvpn/core/DeviceStateReceiver.java
+++ b/src/de/blinkt/openvpn/core/DeviceStateReceiver.java
@@ -105,9 +105,9 @@ public class DeviceStateReceiver extends BroadcastReceiver implements ByteCountL
if (ConnectivityManager.CONNECTIVITY_ACTION.equals(intent.getAction())) {
networkStateChange(context);
} else if (Intent.ACTION_SCREEN_OFF.equals(intent.getAction())) {
- boolean screenOff = prefs.getBoolean("screenoff", false);
+ boolean screenOffPause = prefs.getBoolean("screenoff", false);
- if (screenOff) {
+ if (screenOffPause) {
if (!ProfileManager.getLastConnectedVpn().mPersistTun)
OpenVPN.logError(R.string.screen_nopersistenttun);