mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix crash with parcelable cast
This commit is contained in:
@@ -76,7 +76,7 @@ object ParcelableUtil {
|
||||
val map = LinkedHashMap<String, V>(size)
|
||||
for (i in 0 until size) {
|
||||
val key: String? = parcel.readString()
|
||||
val value: V? = vClass.cast(parcel.readParcelable(vClass.classLoader))
|
||||
val value: V? = parcel.readParcelable(vClass.classLoader)
|
||||
if (key != null && value != null)
|
||||
map[key] = value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user