mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 16:49:40 +01:00
Update libsignal-client to 0.14.0
This commit is contained in:
committed by
Cody Henthorne
parent
749bbf428d
commit
057231b9c3
@@ -8,8 +8,8 @@ import com.google.android.gms.tasks.Tasks;
|
||||
import com.google.firebase.messaging.FirebaseMessaging;
|
||||
|
||||
import org.signal.core.util.logging.Log;
|
||||
import org.whispersystems.libsignal.util.guava.Optional;
|
||||
|
||||
import java.util.Optional;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
||||
public final class FcmUtil {
|
||||
@@ -30,6 +30,6 @@ public final class FcmUtil {
|
||||
Log.w(TAG, "Failed to get the token.", e.getCause());
|
||||
}
|
||||
|
||||
return Optional.fromNullable(TextUtils.isEmpty(token) ? null : token);
|
||||
return Optional.ofNullable(TextUtils.isEmpty(token) ? null : token);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user