diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-10-13 17:53:59 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-10-13 17:53:59 +0200 |
commit | 1295b8f844f914feeeef245229ca166b93ca37cd (patch) | |
tree | 508dfed686b140da66893b509a94615b53bd150f /src/de/blinkt/openvpn/core/OpenVpnService.java | |
parent | d2dc6fa6fc12ca876bb3dcf099ec6694dc7ef061 (diff) |
Working LogFragment
--HG--
rename : res/layout-w720dp/logwindow.xml => res/layout-w720dp/log_fragment.xml
rename : res/layout/logwindow.xml => res/layout/log_fragment.xml
rename : src/de/blinkt/openvpn/LogWindow.java => src/de/blinkt/openvpn/fragments/LogFragment.java
Diffstat (limited to 'src/de/blinkt/openvpn/core/OpenVpnService.java')
-rw-r--r-- | src/de/blinkt/openvpn/core/OpenVpnService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/de/blinkt/openvpn/core/OpenVpnService.java b/src/de/blinkt/openvpn/core/OpenVpnService.java index 0e48d4d6..b24bfc34 100644 --- a/src/de/blinkt/openvpn/core/OpenVpnService.java +++ b/src/de/blinkt/openvpn/core/OpenVpnService.java @@ -593,13 +593,13 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac } @Override - public void updateByteCount(long in, long out, long diffin, long diffout) { + public void updateByteCount(long in, long out, long diffIn, long diffOut) { if (mDisplayBytecount) { String netstat = String.format(getString(R.string.statusline_bytecount), humanReadableByteCount(in, false), - humanReadableByteCount(diffin / OpenVPNManagement.mBytecountInterval, true), + humanReadableByteCount(diffIn / OpenVPNManagement.mBytecountInterval, true), humanReadableByteCount(out, false), - humanReadableByteCount(diffout / OpenVPNManagement.mBytecountInterval, true)); + humanReadableByteCount(diffOut / OpenVPNManagement.mBytecountInterval, true)); boolean lowpriority = !mNotificationAlwaysVisible; showNotification(netstat, null, lowpriority, mConnecttime, LEVEL_CONNECTED); |