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

Commits:

1 changed file:

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) {
    71 71
         mozilla.appservices.places.uniffi.VisitType.REDIRECT_TEMPORARY -> VisitType.REDIRECT_TEMPORARY
    
    72 72
         mozilla.appservices.places.uniffi.VisitType.DOWNLOAD -> VisitType.DOWNLOAD
    
    73 73
         mozilla.appservices.places.uniffi.VisitType.FRAMED_LINK -> VisitType.FRAMED_LINK
    
    74
    -    mozilla.appservices.places.uniffi.VisitType.__NOOP -> VisitType.LINK
    
    75 74
     }
    
    76 75
     
    
    77 76
     internal fun mozilla.appservices.places.uniffi.HistoryVisitInfo.into(): VisitInfo {
    
    ... ... @@ -130,18 +129,6 @@ internal fun BookmarkItem.asBookmarkNode(): BookmarkNode {
    130 129
                     null,
    
    131 130
                 )
    
    132 131
             }
    
    133
    -        is BookmarkItem.__NOOP -> {
    
    134
    -            BookmarkNode(
    
    135
    -                BookmarkNodeType.ITEM,
    
    136
    -                "",
    
    137
    -                "",
    
    138
    -                null,
    
    139
    -                null,
    
    140
    -                null,
    
    141
    -                0L,
    
    142
    -                null,
    
    143
    -            )
    
    144
    -        }
    
    145 132
         }
    
    146 133
     }
    
    147 134
     
    
    ... ... @@ -165,7 +152,6 @@ internal fun mozilla.appservices.places.uniffi.DocumentType.into(): DocumentType
    165 152
         return when (this) {
    
    166 153
             mozilla.appservices.places.uniffi.DocumentType.REGULAR -> DocumentType.Regular
    
    167 154
             mozilla.appservices.places.uniffi.DocumentType.MEDIA -> DocumentType.Media
    
    168
    -        mozilla.appservices.places.uniffi.DocumentType.__NOOP -> DocumentType.Regular
    
    169 155
         }
    
    170 156
     }
    
    171 157