mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] Update Android Components version to 92.0.20210806164329 (https://github.com/mozilla-mobile/fenix/pull/20722)
Addresses breaking change in ShortcutsSuggestionProvider
This commit is contained in:
parent
6c15482c9d
commit
18a51be61c
@ -25,9 +25,6 @@ class ShortcutsSuggestionProvider(
|
||||
) : AwesomeBar.SuggestionProvider {
|
||||
override val id: String = UUID.randomUUID().toString()
|
||||
|
||||
override val shouldClearSuggestions: Boolean
|
||||
get() = false
|
||||
|
||||
private val settingsIcon by lazy {
|
||||
AppCompatResources.getDrawable(context, R.drawable.ic_settings)?.toBitmap()
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ import mozilla.components.browser.state.state.SearchState
|
||||
import mozilla.components.browser.state.store.BrowserStore
|
||||
import org.junit.After
|
||||
import org.junit.Assert.assertEquals
|
||||
import org.junit.Assert.assertFalse
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
import org.mozilla.fenix.R
|
||||
@ -44,12 +43,6 @@ class ShortcutsSuggestionProviderTest {
|
||||
unmockkStatic(AppCompatResources::class)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `should clear is always false`() {
|
||||
val provider = ShortcutsSuggestionProvider(mockk(), mockk(), mockk(), mockk())
|
||||
assertFalse(provider.shouldClearSuggestions)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `returns suggestions from search engine provider`() = runBlockingTest {
|
||||
val engineOne = mockk<SearchEngine> {
|
||||
|
@ -3,5 +3,5 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
object AndroidComponents {
|
||||
const val VERSION = "92.0.20210805225445"
|
||||
const val VERSION = "92.0.20210806164329"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user