Skip to content
Snippets Groups Projects
Commit 28309bab authored by Beatriz Rizental's avatar Beatriz Rizental
Browse files

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

parent e7fd0265
1 merge request!1507Rebase Tor Browser onto 136.0a1
Pipeline #275376 failed
......@@ -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
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment