mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-26 22:20:20 +00:00
Add more safety checks to e164 conversion in backup export.
This commit is contained in:
committed by
jeffrey-signal
parent
b10a57de63
commit
4ecd3ec052
@@ -1562,7 +1562,7 @@ private fun String.e164ToLong(): Long? {
|
||||
this
|
||||
}
|
||||
|
||||
return fixed.toLongOrNull()
|
||||
return fixed.toLongOrNull()?.takeIf { it > 0L }
|
||||
}
|
||||
|
||||
private fun <T> ExecutorService.submitTyped(callable: Callable<T>): Future<T> {
|
||||
|
||||
Reference in New Issue
Block a user