make sure getThreadId returns a Long

This commit is contained in:
tibbi 2020-06-17 21:08:40 +02:00
parent 05c84e498c
commit 26951cc979
1 changed files with 4 additions and 4 deletions

View File

@ -503,10 +503,10 @@ fun Context.getThreadId(address: String): Long {
try {
Threads.getOrCreateThreadId(this, address)
} catch (e: Exception) {
0
0L
}
} else {
0
0L
}
}
@ -516,10 +516,10 @@ fun Context.getThreadId(addresses: Set<String>): Long {
try {
Threads.getOrCreateThreadId(this, addresses)
} catch (e: Exception) {
0
0L
}
} else {
0
0L
}
}