Dan Ballard pushed to branch tor-browser-128.9.0esr-14.5-1 at The Tor Project / 
Applications / Tor Browser


Commits:
7552a2e4 by Beatriz Rizental at 2025-04-02T21:44:50+00:00
fixup! TB 42669: [android] Use custom no-op app-services

- - - - -


1 changed file:

- 
mobile/android/android-components/components/browser/storage-sync/src/main/java/mozilla/components/browser/storage/sync/Types.kt


Changes:

=====================================
mobile/android/android-components/components/browser/storage-sync/src/main/java/mozilla/components/browser/storage/sync/Types.kt
=====================================
@@ -71,7 +71,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 {
@@ -130,18 +129,6 @@ internal fun BookmarkItem.asBookmarkNode(): BookmarkNode {
                 null,
             )
         }
-        is BookmarkItem.__NOOP -> {
-            BookmarkNode(
-                BookmarkNodeType.ITEM,
-                "",
-                "",
-                null,
-                null,
-                null,
-                0L,
-                null,
-            )
-        }
     }
 }
 
@@ -165,7 +152,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
     }
 }
 



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/7552a2e47bfa7bf8a86a36310c2fd234043aeddc

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/7552a2e47bfa7bf8a86a36310c2fd234043aeddc
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to