From 188c95918f5d8a8c3800414af9f92e5334acedc8 Mon Sep 17 00:00:00 2001 From: Alex Styl <1665273+alexstyl@users.noreply.github.com> Date: Sat, 19 Feb 2022 18:50:13 +0000 Subject: [PATCH 1/2] Prepare version 0.14.1 --- versions.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.gradle b/versions.gradle index c7260f33..56aee71a 100644 --- a/versions.gradle +++ b/versions.gradle @@ -1,7 +1,7 @@ ext { majorVersion = 0 minVersion = 14 - patchVersion = 0 + patchVersion = 1 libraryVersionName = "${majorVersion}.${minVersion}.${patchVersion}" libraryVersionCode = majorVersion * 1000 + minVersion * 100 + patchVersion From 1a7ba207b4ab06a5fabd72ea5a96f487f49f281f Mon Sep 17 00:00:00 2001 From: Alex Styl <1665273+alexstyl@users.noreply.github.com> Date: Sat, 19 Feb 2022 18:50:24 +0000 Subject: [PATCH 2/2] Make all properties of MutableContactBuilder public --- .../contactstore/MutableContactBuilder.kt | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/library/src/main/java/com/alexstyl/contactstore/MutableContactBuilder.kt b/library/src/main/java/com/alexstyl/contactstore/MutableContactBuilder.kt index 4af7aec1..51a2e55e 100644 --- a/library/src/main/java/com/alexstyl/contactstore/MutableContactBuilder.kt +++ b/library/src/main/java/com/alexstyl/contactstore/MutableContactBuilder.kt @@ -4,22 +4,22 @@ import android.net.Uri import android.provider.ContactsContract public class MutableContactBuilder( - internal var prefix: String = "", - internal var firstName: String = "", - internal var middleName: String = "", - internal var lastName: String = "", - internal var suffix: String = "", - internal var fullNameStyle: Int = ContactsContract.FullNameStyle.UNDEFINED, - internal var phoneticNameStyle: Int = ContactsContract.PhoneticNameStyle.UNDEFINED, - internal var phoneticFirstName: String = "", - internal var phoneticMiddleName: String = "", - internal var phoneticLastName: String = "", - internal var nickname: String = "", - internal var note: String? = null, - internal var jobTitle: String = "", - internal var organization: String = "", - internal var imageData: ImageData? = null, - internal var isStarred: Boolean = false, + public var prefix: String = "", + public var firstName: String = "", + public var middleName: String = "", + public var lastName: String = "", + public var suffix: String = "", + public var fullNameStyle: Int = ContactsContract.FullNameStyle.UNDEFINED, + public var phoneticNameStyle: Int = ContactsContract.PhoneticNameStyle.UNDEFINED, + public var phoneticFirstName: String = "", + public var phoneticMiddleName: String = "", + public var phoneticLastName: String = "", + public var nickname: String = "", + public var note: String? = null, + public var jobTitle: String = "", + public var organization: String = "", + public var imageData: ImageData? = null, + public var isStarred: Boolean = false, ) { private val _phones: MutableList> = mutableListOf() internal val phones: List>