mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Get a big backupV2 import fully working.
This commit is contained in:
@@ -20,6 +20,10 @@ import java.util.LinkedList
|
||||
|
||||
private const val TAG = "ProtoExtension"
|
||||
|
||||
fun ByteString?.isEmpty(): Boolean {
|
||||
return this == null || this.size == 0
|
||||
}
|
||||
|
||||
fun ByteString?.isNotEmpty(): Boolean {
|
||||
return this != null && this.size > 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user