mirror of
https://github.com/wgtunnel/android.git
synced 2026-07-03 14:07:49 +02:00
minor: disable stats job when app is closed
Adds a slight battery performance improvement #437
This commit is contained in:
@@ -182,8 +182,7 @@ object LogcatCollector {
|
||||
clear()
|
||||
logcatProc = Runtime.getRuntime().exec(command)
|
||||
reader = BufferedReader(InputStreamReader(logcatProc!!.inputStream), 1024)
|
||||
var line: String? = null
|
||||
|
||||
var line: String?
|
||||
while (!stopped) {
|
||||
if (paused) continue
|
||||
line = reader?.readLine()
|
||||
|
||||
Reference in New Issue
Block a user