Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaba
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(
// Enable push if it's configured.
push
.
feature
?.
let
{
autoPushFeature
->
FxaPushSupportFeature
(
context
,
accountManager
,
autoPushFeature
)
FxaPushSupportFeature
(
context
,
accountManager
,
autoPushFeature
,
crashReporter
)
}
SendTabFeature
(
accountManager
)
{
device
,
tabs
->
...
...
app/src/test/java/org/mozilla/fenix/push/WebPushEngineIntegrationTest.kt
View file @
cebab81e
...
...
@@ -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
)
...
...
buildSrc/src/main/java/AndroidComponents.kt
View file @
cebab81e
...
...
@@ -3,5 +3,5 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
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
.
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