We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6c909 commit 8152191Copy full SHA for 8152191
ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
@@ -158,7 +158,6 @@ class LogViewerActivity : AppCompatActivity() {
158
builder.append('\n')
159
}
160
val ret = builder.toString().toByteArray(Charsets.UTF_8)
161
- builder.clear()
162
return ret
163
164
@@ -203,7 +202,7 @@ class LogViewerActivity : AppCompatActivity() {
203
202
var priorModified = false
204
val bufferedLogLines = arrayListOf<LogLine>()
205
var timeout = 1000000000L / 2 // The timeout is initially small so that the view gets populated immediately.
206
- val MAX_LINES = (1 shl 17) - 1
+ val MAX_LINES = (1 shl 16) - 1
207
val MAX_BUFFERED_LINES = (1 shl 14) - 1
208
209
while (true) {
0 commit comments