aboutsummaryrefslogtreecommitdiffstats
path: root/openpgp-ktx/src/main/java/org/openintents/openpgp
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp-ktx/src/main/java/org/openintents/openpgp')
-rw-r--r--openpgp-ktx/src/main/java/org/openintents/openpgp/OpenPgpSignatureResult.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp-ktx/src/main/java/org/openintents/openpgp/OpenPgpSignatureResult.kt b/openpgp-ktx/src/main/java/org/openintents/openpgp/OpenPgpSignatureResult.kt
index a1a4a81b..f4af90ba 100644
--- a/openpgp-ktx/src/main/java/org/openintents/openpgp/OpenPgpSignatureResult.kt
+++ b/openpgp-ktx/src/main/java/org/openintents/openpgp/OpenPgpSignatureResult.kt
@@ -60,7 +60,7 @@ public class OpenPgpSignatureResult : Parcelable {
// backward compatibility for this exact version
if (version > 2) {
senderStatusResult =
- readEnumWithNullAndFallback(source, SenderStatusResult.values(), SenderStatusResult.UNKNOWN)
+ readEnumWithNullAndFallback(source, SenderStatusResult.entries, SenderStatusResult.UNKNOWN)
confirmedUserIds = source.createStringArrayList()
} else {
senderStatusResult = SenderStatusResult.UNKNOWN
@@ -74,7 +74,7 @@ public class OpenPgpSignatureResult : Parcelable {
}
autocryptPeerentityResult =
if (version > 4) {
- readEnumWithNullAndFallback(source, AutocryptPeerResult.values(), null)
+ readEnumWithNullAndFallback(source, AutocryptPeerResult.entries, null)
} else {
null
}