Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthew Finkel
fenix
Commits
cebab81e
Unverified
Commit
cebab81e
authored
Nov 17, 2020
by
Jonathan Almeida
Committed by
GitHub
Nov 17, 2020
Browse files
Update Android Components to 67.0.20201117165227 (#16619)
parent
f520586d
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/components/BackgroundServices.kt
View file @
cebab81e
...
@@ -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
->
...
...
app/src/test/java/org/mozilla/fenix/push/WebPushEngineIntegrationTest.kt
View file @
cebab81e
...
@@ -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
)
...
...
buildSrc/src/main/java/AndroidComponents.kt
View file @
cebab81e
...
@@ -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.2020111
6143052
"
const
val
VERSION
=
"67.0.2020111
7165227
"
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment