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( ...@@ -157,7 +157,7 @@ class BackgroundServices(
// Enable push if it's configured. // Enable push if it's configured.
push.feature?.let { autoPushFeature -> push.feature?.let { autoPushFeature ->
FxaPushSupportFeature(context, accountManager, autoPushFeature) FxaPushSupportFeature(context, accountManager, autoPushFeature, crashReporter)
} }
SendTabFeature(accountManager) { device, tabs -> SendTabFeature(accountManager) { device, tabs ->
......
...@@ -118,7 +118,7 @@ class WebPushEngineIntegrationTest { ...@@ -118,7 +118,7 @@ class WebPushEngineIntegrationTest {
@Test @Test
fun `delegate calls subscribe`() { fun `delegate calls subscribe`() {
integration.start() integration.start()
val onSubscribeError = slot<() -> Unit>() val onSubscribeError = slot<(Exception) -> Unit>()
val onSubscribe = slot<(AutoPushSubscription?) -> Unit>() val onSubscribe = slot<(AutoPushSubscription?) -> Unit>()
every { every {
pushFeature.subscribe( pushFeature.subscribe(
...@@ -134,7 +134,7 @@ class WebPushEngineIntegrationTest { ...@@ -134,7 +134,7 @@ class WebPushEngineIntegrationTest {
verify { onSubscription wasNot Called } verify { onSubscription wasNot Called }
onSubscribeError.captured() onSubscribeError.captured(mockk())
verify { onSubscription(null) } verify { onSubscription(null) }
onSubscribe.captured(AutoPushSubscription( onSubscribe.captured(AutoPushSubscription(
...@@ -160,7 +160,7 @@ class WebPushEngineIntegrationTest { ...@@ -160,7 +160,7 @@ class WebPushEngineIntegrationTest {
@Test @Test
fun `delegate calls unsubscribe`() { fun `delegate calls unsubscribe`() {
integration.start() integration.start()
val onUnsubscribeError = slot<() -> Unit>() val onUnsubscribeError = slot<(Exception) -> Unit>()
val onUnsubscribe = slot<(Boolean) -> Unit>() val onUnsubscribe = slot<(Boolean) -> Unit>()
every { every {
pushFeature.unsubscribe( pushFeature.unsubscribe(
...@@ -175,7 +175,7 @@ class WebPushEngineIntegrationTest { ...@@ -175,7 +175,7 @@ class WebPushEngineIntegrationTest {
verify { onUnsubscription wasNot Called } verify { onUnsubscription wasNot Called }
onUnsubscribeError.captured() onUnsubscribeError.captured(mockk())
verify { onUnsubscription(false) } verify { onUnsubscription(false) }
onUnsubscribe.captured(true) onUnsubscribe.captured(true)
......
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents { object AndroidComponents {
const val VERSION = "67.0.20201116143052" const val VERSION = "67.0.20201117165227"
} }
Supports Markdown
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