summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/build.gradle4
-rw-r--r--main/openvpn/config-version.h2
-rw-r--r--main/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java22
3 files changed, 15 insertions, 13 deletions
diff --git a/main/build.gradle b/main/build.gradle
index a9ec1b08..6c0f1164 100644
--- a/main/build.gradle
+++ b/main/build.gradle
@@ -24,8 +24,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 19
- versionCode = 92
- versionName = "0.6.11"
+ versionCode = 93
+ versionName = "0.6.12"
}
sourceSets {
diff --git a/main/openvpn/config-version.h b/main/openvpn/config-version.h
index 4dcbb0ae..60276cd8 100644
--- a/main/openvpn/config-version.h
+++ b/main/openvpn/config-version.h
@@ -1,2 +1,2 @@
-#define CONFIGURE_GIT_REVISION "icsopenvpn_610-eab94f1a54e461a1"
+#define CONFIGURE_GIT_REVISION "icsopenvpn_612-757f9467b41fb40e"
#define CONFIGURE_GIT_FLAGS "+"
diff --git a/main/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java b/main/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
index 8530be34..386e3133 100644
--- a/main/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
+++ b/main/src/main/java/de/blinkt/openvpn/fragments/LogFragment.java
@@ -643,16 +643,18 @@ public class LogFragment extends ListFragment implements StateListener, SeekBar.
@Override
public void run() {
- String prefix = getString(resId) + ":";
- if (status.equals("BYTECOUNT") || status.equals("NOPROCESS"))
- prefix = "";
- if (resId == R.string.unknown_state)
- prefix += status;
- if (mSpeedView != null)
- mSpeedView.setText(prefix + logMessage);
-
- if (mConnectStatus != null)
- mConnectStatus.setText(getString(resId));
+ if (isAdded()) {
+ String prefix = getString(resId) + ":";
+ if (status.equals("BYTECOUNT") || status.equals("NOPROCESS"))
+ prefix = "";
+ if (resId == R.string.unknown_state)
+ prefix += status;
+ if (mSpeedView != null)
+ mSpeedView.setText(prefix + logMessage);
+
+ if (mConnectStatus != null)
+ mConnectStatus.setText(getString(resId));
+ }
}
});
}