summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-11-22 16:03:53 +0100
committerArne Schwabe <arne@rfc2549.org>2013-11-22 16:03:53 +0100
commitc1571bb90a4449cf3d359392b6093079ab705721 (patch)
tree197c3841646fc8138a1b5ecfb57a9411353bc751
parent0163093730b49291cd4c6353cee05f4ca780e948 (diff)
Fix showing log for —verb > 4
-rw-r--r--icsopenvpn.iml8
-rw-r--r--src/de/blinkt/openvpn/fragments/LogFragment.java2
2 files changed, 5 insertions, 5 deletions
diff --git a/icsopenvpn.iml b/icsopenvpn.iml
index ad327925..c0ba6aa7 100644
--- a/icsopenvpn.iml
+++ b/icsopenvpn.iml
@@ -23,10 +23,10 @@
<output url="file://$MODULE_DIR$/build/classes/debug" />
<exclude-output />
<content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/build/source/r/debug" isTestSource="false" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/source/aidl/debug" isTestSource="false" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/source/rs/debug" isTestSource="false" generated="true" />
- <sourceFolder url="file://$MODULE_DIR$/build/source/buildConfig/debug" isTestSource="false" generated="true" />
+ <sourceFolder url="file://$MODULE_DIR$/build/source/r/debug" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/build/source/aidl/debug" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/build/source/rs/debug" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/build/source/buildConfig/debug" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/build/res/rs/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/source/r/test" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/build/source/aidl/test" isTestSource="true" />
diff --git a/src/de/blinkt/openvpn/fragments/LogFragment.java b/src/de/blinkt/openvpn/fragments/LogFragment.java
index e049b8ba..40f9dfb6 100644
--- a/src/de/blinkt/openvpn/fragments/LogFragment.java
+++ b/src/de/blinkt/openvpn/fragments/LogFragment.java
@@ -340,7 +340,7 @@ public class LogFragment extends ListFragment implements StateListener, SeekBar.
currentLevelEntries.clear();
for(LogItem li: allEntries) {
if (li.getVerbosityLevel() <= mLogLevel ||
- li.getVerbosityLevel() >= VpnProfile.MAXLOGLEVEL)
+ mLogLevel == VpnProfile.MAXLOGLEVEL)
currentLevelEntries.add(li);
}
}