Commit fca082d6 authored by Beatriz Rizental's avatar Beatriz Rizental
Browse files

fixup! TB 42669: [android] Use custom no-op app-services

parent 5abbc905
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -72,7 +72,6 @@ internal fun mozilla.appservices.places.uniffi.VisitType.into() = when (this) {
    mozilla.appservices.places.uniffi.VisitType.REDIRECT_TEMPORARY -> VisitType.REDIRECT_TEMPORARY
    mozilla.appservices.places.uniffi.VisitType.DOWNLOAD -> VisitType.DOWNLOAD
    mozilla.appservices.places.uniffi.VisitType.FRAMED_LINK -> VisitType.FRAMED_LINK
    mozilla.appservices.places.uniffi.VisitType.__NOOP -> VisitType.LINK
}

internal fun mozilla.appservices.places.uniffi.HistoryVisitInfo.into(): VisitInfo {
@@ -134,18 +133,6 @@ internal fun BookmarkItem.asBookmarkNode(): BookmarkNode {
                null,
            )
        }
        is BookmarkItem.__NOOP -> {
            BookmarkNode(
                BookmarkNodeType.ITEM,
                "",
                "",
                null,
                null,
                null,
                0L,
                null,
            )
        }
    }
}

@@ -169,7 +156,6 @@ internal fun mozilla.appservices.places.uniffi.DocumentType.into(): DocumentType
    return when (this) {
        mozilla.appservices.places.uniffi.DocumentType.REGULAR -> DocumentType.Regular
        mozilla.appservices.places.uniffi.DocumentType.MEDIA -> DocumentType.Media
        mozilla.appservices.places.uniffi.DocumentType.__NOOP -> DocumentType.Regular
    }
}