mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d560c3e8de | ||
|
|
4f8e8e6669 | ||
|
|
7cdc2e0915 | ||
|
|
74b236b317 | ||
|
|
89ffeaf03b | ||
|
|
8b779a0fca | ||
|
|
4b71dc8445 |
@@ -1,3 +1,6 @@
|
||||
KeePassDX(2.10.1)
|
||||
* Fix parcelable with custom data #986
|
||||
|
||||
KeePassDX(2.10.0)
|
||||
* Manage new database format 4.1 #956
|
||||
* Fix show button consistency #980
|
||||
|
||||
@@ -11,8 +11,8 @@ android {
|
||||
applicationId "com.kunzisoft.keepass"
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 30
|
||||
versionCode = 76
|
||||
versionName = "2.10.0"
|
||||
versionCode = 78
|
||||
versionName = "2.10.1"
|
||||
multiDexEnabled true
|
||||
|
||||
testApplicationId = "com.kunzisoft.keepass.tests"
|
||||
|
||||
@@ -17,7 +17,7 @@ class CustomData : Parcelable {
|
||||
}
|
||||
|
||||
constructor(parcel: Parcel) {
|
||||
ParcelableUtil.readStringParcelableMap(parcel, CustomData::class.java)
|
||||
ParcelableUtil.readStringParcelableMap(parcel, CustomDataItem::class.java)
|
||||
}
|
||||
|
||||
fun get(key: String): CustomDataItem? {
|
||||
|
||||
@@ -42,8 +42,12 @@ object ParcelableUtil {
|
||||
val size = parcel.readInt()
|
||||
val map = HashMap<K, V>(size)
|
||||
for (i in 0 until size) {
|
||||
val key: K? = kClass.cast(parcel.readParcelable(kClass.classLoader))
|
||||
val value: V? = vClass.cast(parcel.readParcelable(vClass.classLoader))
|
||||
val key: K? = try {
|
||||
parcel.readParcelable(kClass.classLoader)
|
||||
} catch (e: Exception) { null }
|
||||
val value: V? = try {
|
||||
parcel.readParcelable(vClass.classLoader)
|
||||
} catch (e: Exception) { null }
|
||||
if (key != null && value != null)
|
||||
map[key] = value
|
||||
}
|
||||
@@ -76,7 +80,9 @@ 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? = try {
|
||||
parcel.readParcelable(vClass.classLoader)
|
||||
} catch (e: Exception) { null }
|
||||
if (key != null && value != null)
|
||||
map[key] = value
|
||||
}
|
||||
|
||||
1
fastlane/metadata/android/en-US/changelogs/77.txt
Normal file
1
fastlane/metadata/android/en-US/changelogs/77.txt
Normal file
@@ -0,0 +1 @@
|
||||
*
|
||||
1
fastlane/metadata/android/fr-FR/changelogs/77.txt
Normal file
1
fastlane/metadata/android/fr-FR/changelogs/77.txt
Normal file
@@ -0,0 +1 @@
|
||||
*
|
||||
Reference in New Issue
Block a user