diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-08-14 10:33:10 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-08-14 10:33:10 +0200 |
commit | 128cffe34eaaa02f32aa7fd456bccecd6c86660e (patch) | |
tree | 21b7e5479d1bfdd6ba6efab44857d533801cea65 | |
parent | a3f746b6d8dbd9dca9625c25cf76130c28121597 (diff) |
prepare for version 0.5.41v0.5.41
-rw-r--r-- | build.gradle | 5 | ||||
-rw-r--r-- | src/de/blinkt/openvpn/core/DeviceStateReceiver.java | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle index e0221e72..395679fd 100644 --- a/build.gradle +++ b/build.gradle @@ -24,9 +24,10 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 18 - versionCode = 73 - versionName = "0.5.40.1" + versionCode = 74 + versionName = "0.5.41" } + sourceSets { main { manifest.srcFile 'AndroidManifest.xml' 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);
|