Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2f5cfb6 authored by narinder Rana's avatar narinder Rana
Browse files

test to finding text 2

parent c026e1b6
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ class DavService: android.app.Service() {
        val DAV_COLLECTION_PROPERTIES = arrayOf(
                ResourceType.NAME,
                CurrentUserPrivilegeSet.NAME,
                DisplayName.NAME,
                "Test 4 ::"+DisplayName.NAME,
                AddressbookDescription.NAME, SupportedAddressData.NAME,
                CalendarDescription.NAME, CalendarColor.NAME, SupportedCalendarComponentSet.NAME,
                Source.NAME
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ data class Collection(
            var displayName: String? = null
            dav[DisplayName::class.java]?.let {
                if (!it.displayName.isNullOrEmpty())
                    displayName = it.displayName
                    displayName = "Test 5 :: "+it.displayName
            }

            var description: String? = null
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ class LocalAddressBook(
            baos.write(info.url.hashCode())
            val hash = Base64.encodeToString(baos.toByteArray(), Base64.NO_WRAP or Base64.NO_PADDING)

            val sb = StringBuilder(info.displayName.let {
            val sb = StringBuilder("Test :2: "+info.displayName.let {
                if (it.isNullOrEmpty())
                    DavUtils.lastSegmentOfUrl(info.url)
                else
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ class HomeSetAdapter(
        val v: View
        if (!data.displayName.isNullOrBlank()) {
            v = convertView ?: LayoutInflater.from(context).inflate(R.layout.custom_simple_list_item_2, null, false)
            v.findViewById<TextView>(android.R.id.text1).text = data.displayName
            v.findViewById<TextView>(android.R.id.text1).text = "Test 3 :: "+data.displayName
            v.findViewById<TextView>(android.R.id.text2).apply {
                text = data.url.toString()
                setSingleLine()