Skip to content

Commit

Permalink
Fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
darshanparajuli committed Aug 26, 2020
1 parent fb84347 commit 2e17c7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logcat/src/main/java/com/dp/logcat/Logcat.kt
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ class Logcat(initialCapacity: Int = INITIAL_LOG_CAPACITY) : Closeable {
val result = mutableSetOf<String>()

val stdoutList = mutableListOf<String>()
CommandUtils.runCmd(cmd = *arrayOf("logcat", "-g"), stdoutList = stdoutList)
CommandUtils.runCmd(cmd = arrayOf("logcat", "-g"), stdoutList = stdoutList)

for (s in stdoutList) {
val colonIndex = s.indexOf(":")
Expand Down Expand Up @@ -573,7 +573,7 @@ class Logcat(initialCapacity: Int = INITIAL_LOG_CAPACITY) : Closeable {
val result = mutableSetOf<String>()

val stdoutList = mutableListOf<String>()
CommandUtils.runCmd(cmd = *arrayOf("logcat", "-h"),
CommandUtils.runCmd(cmd = arrayOf("logcat", "-h"),
stdoutList = stdoutList, redirectStderr = true)

var bFound = false
Expand Down

0 comments on commit 2e17c7e

Please sign in to comment.