summaryrefslogtreecommitdiffstats
path: root/mobile/android/android-components/components/lib
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/android-components/components/lib')
-rw-r--r--mobile/android/android-components/components/lib/auth/build.gradle1
-rw-r--r--mobile/android/android-components/components/lib/crash/build.gradle1
-rw-r--r--mobile/android/android-components/components/lib/crash/src/main/res/values-ast/strings.xml6
-rw-r--r--mobile/android/android-components/components/lib/crash/src/main/res/values-zh-rCN/strings.xml2
-rw-r--r--mobile/android/android-components/components/lib/push-firebase/build.gradle1
-rw-r--r--mobile/android/android-components/components/lib/push-firebase/src/main/java/mozilla/components/lib/push/firebase/AbstractFirebasePushService.kt2
6 files changed, 8 insertions, 5 deletions
diff --git a/mobile/android/android-components/components/lib/auth/build.gradle b/mobile/android/android-components/components/lib/auth/build.gradle
index 26f11505ee..9f2017267a 100644
--- a/mobile/android/android-components/components/lib/auth/build.gradle
+++ b/mobile/android/android-components/components/lib/auth/build.gradle
@@ -26,6 +26,7 @@ android {
dependencies {
implementation project(':support-base')
implementation ComponentsDependencies.androidx_biometric
+ implementation ComponentsDependencies.androidx_core_ktx
testImplementation project(':support-test')
testImplementation ComponentsDependencies.androidx_test_core
diff --git a/mobile/android/android-components/components/lib/crash/build.gradle b/mobile/android/android-components/components/lib/crash/build.gradle
index afedcf3044..133c542da2 100644
--- a/mobile/android/android-components/components/lib/crash/build.gradle
+++ b/mobile/android/android-components/components/lib/crash/build.gradle
@@ -69,6 +69,7 @@ dependencies {
implementation ComponentsDependencies.androidx_appcompat
implementation ComponentsDependencies.androidx_constraintlayout
+ implementation ComponentsDependencies.androidx_core_ktx
implementation ComponentsDependencies.androidx_recyclerview
implementation project(':support-base')
diff --git a/mobile/android/android-components/components/lib/crash/src/main/res/values-ast/strings.xml b/mobile/android/android-components/components/lib/crash/src/main/res/values-ast/strings.xml
index d4d75fadfa..a6a694e9b9 100644
--- a/mobile/android/android-components/components/lib/crash/src/main/res/values-ast/strings.xml
+++ b/mobile/android/android-components/components/lib/crash/src/main/res/values-ast/strings.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Title of the crash reporter dialog. %1$s will be replaced with the name of the app (e.g. Firefox Focus). -->
- <string name="mozac_lib_crash_dialog_title">Sentímoslo, %1$s tuvo un problema ya cascó.</string>
+ <string name="mozac_lib_crash_dialog_title">%1$s tuvo un problema y cascó.</string>
<!-- Label of the checkbox for sending crash reports in the crash reporter dialog. %1$s will be replaced with the name of the organization (e.g. Mozilla). -->
<string name="mozac_lib_crash_dialog_checkbox">Unviar l\'informe del error a %1$s</string>
@@ -16,7 +16,7 @@
<string name="mozac_lib_crash_channel">Casques</string>
<!-- Title of the crash reporter notification for background process crashes. %1$s will be replaced with the name of the app (e.g. Firefox Focus). -->
- <string name="mozac_lib_crash_background_process_notification_title">Sentímoslo, prodúxose un problema en %1$s.</string>
+ <string name="mozac_lib_crash_background_process_notification_title">Prodúxose un problema en %1$s.</string>
<!-- Label of a notification action/button that will send the crash report to Mozilla. -->
<string name="mozac_lib_crash_notification_action_report">Informar</string>
@@ -34,7 +34,7 @@
<string name="mozac_lib_crash_activity_title">Informes de casques</string>
<!-- Text shown instead of crash list if no crashes have been submitted yet -->
- <string name="mozac_lib_crash_no_crashes">Nun s\'unvió nengún informe de casques.</string>
+ <string name="mozac_lib_crash_no_crashes">Nun s\'unvió nengún informe de casque.</string>
<!-- Text link that will show an app chooser to share a crash report with a third-party app (e.g. gmail) -->
<string name="mozac_lib_crash_share">Compartir</string>
diff --git a/mobile/android/android-components/components/lib/crash/src/main/res/values-zh-rCN/strings.xml b/mobile/android/android-components/components/lib/crash/src/main/res/values-zh-rCN/strings.xml
index 9a0bf4aadb..a71a9fc917 100644
--- a/mobile/android/android-components/components/lib/crash/src/main/res/values-zh-rCN/strings.xml
+++ b/mobile/android/android-components/components/lib/crash/src/main/res/values-zh-rCN/strings.xml
@@ -37,5 +37,5 @@
<string name="mozac_lib_crash_no_crashes">尚未提交任何崩溃报告。</string>
<!-- Text link that will show an app chooser to share a crash report with a third-party app (e.g. gmail) -->
- <string name="mozac_lib_crash_share">共享</string>
+ <string name="mozac_lib_crash_share">分享</string>
</resources>
diff --git a/mobile/android/android-components/components/lib/push-firebase/build.gradle b/mobile/android/android-components/components/lib/push-firebase/build.gradle
index c8bc41debe..cd6b6acd41 100644
--- a/mobile/android/android-components/components/lib/push-firebase/build.gradle
+++ b/mobile/android/android-components/components/lib/push-firebase/build.gradle
@@ -24,6 +24,7 @@ android {
dependencies {
implementation ComponentsDependencies.kotlin_coroutines
+ implementation ComponentsDependencies.play_services_base
implementation project(':concept-push')
implementation project(':support-base')
diff --git a/mobile/android/android-components/components/lib/push-firebase/src/main/java/mozilla/components/lib/push/firebase/AbstractFirebasePushService.kt b/mobile/android/android-components/components/lib/push-firebase/src/main/java/mozilla/components/lib/push/firebase/AbstractFirebasePushService.kt
index e378f199a3..83bdd558a2 100644
--- a/mobile/android/android-components/components/lib/push-firebase/src/main/java/mozilla/components/lib/push/firebase/AbstractFirebasePushService.kt
+++ b/mobile/android/android-components/components/lib/push-firebase/src/main/java/mozilla/components/lib/push/firebase/AbstractFirebasePushService.kt
@@ -5,9 +5,9 @@
package mozilla.components.lib.push.firebase
import android.content.Context
+import androidx.annotation.VisibleForTesting
import com.google.android.gms.common.ConnectionResult
import com.google.android.gms.common.GoogleApiAvailability
-import com.google.android.gms.common.util.VisibleForTesting
import com.google.firebase.FirebaseApp
import com.google.firebase.messaging.FirebaseMessaging
import com.google.firebase.messaging.FirebaseMessagingService