Unverified Commit cebab81e authored by Jonathan Almeida's avatar Jonathan Almeida Committed by GitHub
Browse files

Update Android Components to 67.0.20201117165227 (#16619)

parent f520586d
......@@ -157,7 +157,7 @@ class BackgroundServices(
// Enable push if it's configured.
push.feature?.let { autoPushFeature ->
FxaPushSupportFeature(context, accountManager, autoPushFeature)
FxaPushSupportFeature(context, accountManager, autoPushFeature, crashReporter)
}
SendTabFeature(accountManager) { device, tabs ->
......
......@@ -118,7 +118,7 @@ class WebPushEngineIntegrationTest {
@Test
fun `delegate calls subscribe`() {
integration.start()
val onSubscribeError = slot<() -> Unit>()
val onSubscribeError = slot<(Exception) -> Unit>()
val onSubscribe = slot<(AutoPushSubscription?) -> Unit>()
every {
pushFeature.subscribe(
......@@ -134,7 +134,7 @@ class WebPushEngineIntegrationTest {
verify { onSubscription wasNot Called }
onSubscribeError.captured()
onSubscribeError.captured(mockk())
verify { onSubscription(null) }
onSubscribe.captured(AutoPushSubscription(
......@@ -160,7 +160,7 @@ class WebPushEngineIntegrationTest {
@Test
fun `delegate calls unsubscribe`() {
integration.start()
val onUnsubscribeError = slot<() -> Unit>()
val onUnsubscribeError = slot<(Exception) -> Unit>()
val onUnsubscribe = slot<(Boolean) -> Unit>()
every {
pushFeature.unsubscribe(
......@@ -175,7 +175,7 @@ class WebPushEngineIntegrationTest {
verify { onUnsubscription wasNot Called }
onUnsubscribeError.captured()
onUnsubscribeError.captured(mockk())
verify { onUnsubscription(false) }
onUnsubscribe.captured(true)
......
......@@ -3,5 +3,5 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "67.0.20201116143052"
const val VERSION = "67.0.20201117165227"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment