make sure getThreadId returns a Long
This commit is contained in:
parent
05c84e498c
commit
26951cc979
|
@ -503,10 +503,10 @@ fun Context.getThreadId(address: String): Long {
|
||||||
try {
|
try {
|
||||||
Threads.getOrCreateThreadId(this, address)
|
Threads.getOrCreateThreadId(this, address)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
0
|
0L
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
0
|
0L
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -516,10 +516,10 @@ fun Context.getThreadId(addresses: Set<String>): Long {
|
||||||
try {
|
try {
|
||||||
Threads.getOrCreateThreadId(this, addresses)
|
Threads.getOrCreateThreadId(this, addresses)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
0
|
0L
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
0
|
0L
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue