1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-22 07:43:15 +00:00

Log level fix

This commit is contained in:
M66B 2023-11-02 14:38:47 +01:00
parent 336c5d67d9
commit 8ef3e87cb1

View file

@ -1094,7 +1094,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
remoteViews.setTextViewText(R.id.tvMax, getString(R.string.msg_mbsec, max / 2 / 1000 / 1000)); remoteViews.setTextViewText(R.id.tvMax, getString(R.string.msg_mbsec, max / 2 / 1000 / 1000));
// Show session/file count // Show session/file count
if (filter && loglevel <= Log.WARN) { if (filter && loglevel > Log.WARN) {
int[] count = jni_get_stats(jni_context); int[] count = jni_get_stats(jni_context);
remoteViews.setTextViewText(R.id.tvSessions, count[0] + "/" + count[1] + "/" + count[2]); remoteViews.setTextViewText(R.id.tvSessions, count[0] + "/" + count[1] + "/" + count[2]);
remoteViews.setTextViewText(R.id.tvFiles, count[3] + "/" + count[4]); remoteViews.setTextViewText(R.id.tvFiles, count[3] + "/" + count[4]);