Commit graph

721 commits

Author SHA1 Message Date
github-actions
7cb20dc5bd Import translations from android-l10n 2023-05-17 01:03:22 +00:00
rahulsainani
a8c1d2b399 Bug 1830895 - observeAsState compose extension 2023-05-16 13:06:41 +00:00
Gabriel Luong
76d275939e Bug 1833221 - Update metrics.md with the new autogenerated glean verison 2023-05-16 00:04:27 +00:00
Jonathan Almeida
e09dbe7415 Bug 1826591 - Catch and log exceptions when reporting crashes
This crash is in relation to a crash that we found could take down our
crash reporter. There isn't much we can do to avoid it (see the linked
issues), but reporting this in the Android logger will increase it's
visibility instead of silently failing.
2023-05-10 18:52:16 +00:00
mike a
5743e44398 Bug 1807138 – increase snackbar width for tablets 2023-05-09 22:18:37 +00:00
mike a
0f6ee09218 Bug 1815637 - Add rtl support 2023-05-09 18:41:08 +00:00
github-actions
570991db5c Import translations from android-l10n 2023-05-09 00:34:46 +00:00
github-actions
7ca3929415 Import translations from android-l10n 2023-05-07 00:36:22 +00:00
github-actions
3617f37c80 Import translations from android-l10n 2023-05-04 01:08:57 +00:00
Jonathan Almeida
e9db0c2aa1 Bug 1828551 - Add documentation diagrams for AutoPushFeature 2023-04-27 15:06:15 +00:00
Noah Bond
830d0e0cc1 Bug 1826457 - Update Compose version to 1.4.2 and Lifecycle version to 2.6.1 2023-04-27 03:17:17 +00:00
github-actions
0806f10ee7 Import translations from android-l10n 2023-04-27 00:48:48 +00:00
github-actions
4f4b08518d Import translations from android-l10n 2023-04-22 01:15:02 +00:00
github-actions
b2b0b7a056 Import translations from android-l10n 2023-04-21 00:32:25 +00:00
github-actions
639a0f0c29 Import translations from android-l10n 2023-04-20 03:44:36 +00:00
Geoff Brown
4b36c91e06 Bug 1825116 - Add license notice where missing (https://github.com/mozilla-mobile/firefox-android/pull/1637)
* Bug 1825116 - Add license notice where missing

* Bug 1825116 - Revert changes to strings.xml

* Bug 1825116 - Restore ic_cc*.xml
2023-04-19 21:08:15 +00:00
Geoff Brown
6561b2de2b Bug 1825116 - Resolve many black, isort, and file-whitespace lint issues 2023-04-12 14:04:29 +00:00
mcarare
278fa80cc2 Bug 1824717 - Remove unnecessary AndroidJUnit4 runner. 2023-04-05 12:44:13 +00:00
mcarare
541e72942a Bug 1796348 - Add a notification delegate to CrashReporter.
The CrashReporter will now show notifications through the notification delegate.
2023-03-30 15:04:03 -04:00
mcarare
8ad917783c Bug 1796348 - Add manifest notification permission for modules that use notifications. 2023-03-30 15:04:03 -04:00
github-actions
a356a46910 Import translations from android-l10n 2023-03-18 00:40:05 +00:00
Roger Yang
824a3e2877 Bug 1822106 - Move experimenter.yaml file location 2023-03-13 17:48:00 +00:00
github-actions
8b45c49747 Import translations from android-l10n 2023-03-09 20:35:59 -05:00
Alex Franchuk
90a087f548 Bug 1810951 - Implement Glean-based crash pings in Fenix
Integrate crash pings into the GleanCrashReporterService.

The existing persistence scheme is changed to use kotlin serialization
to conveniently store more complex structured values.
2023-03-07 06:00:47 +00:00
Alex Franchuk
bd8f58e04f Bug 1811928 - Android Components: get metrics/pings.yaml for crash pings from mozilla-central
It was determined that the best approach would be to manually copy the
files. Once android-components is merged into mozilla-central the files
can be potentially easily shared.

The use of kapt is replaced by ksp as the kapt produces java stubs from
the glean generated code which are invalid java (ksp does not generate
stubs).
2023-03-07 06:00:47 +00:00
Ryan VanderMeulen
0e5e70291c Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt build.gradle 2023-03-07 00:12:18 +00:00
github-actions
223956affe Import translations from android-l10n 2023-03-04 02:18:50 +00:00
github-actions
46ce2edb95 Import translations from android-l10n 2023-03-03 03:14:45 +00:00
mcarare
1f589a2e0b Bug 1802817 - Set namespace via DSL in gradle build files.
See https://developer.android.com/studio/build/configure-app-module#set-namespace
and https://issuetracker.google.com/issues/172361895
2023-03-02 17:13:09 +00:00
mcarare
922b5f6643 Bug 1802817 - Rename AC Dependencies to ComponentsDependencies.
This change is needed in order to avoid clashes with Dependencies class introduced
in Gradle from 7.6 version.
2023-03-02 17:13:09 +00:00
github-actions
24d0333c19 Import translations from android-l10n 2023-02-26 00:33:35 +00:00
mcarare
7f86477e7d Bug 1818462 - Refactor AbstractFirebasePushService to remove test dependencies.
Using a shadow from Robolectric Play services module is no longer needed.
2023-02-24 15:31:22 +00:00
Jonathan Almeida
05cb43b3b2 Bug 1795439 - Remove crash-sentry-legacy component
We no longer need or use this component any more. Consumers should be
using the newer crash-sentry component instead.
2023-02-24 12:49:06 +00:00
Jan-Erik Rediger
049f24aa72 Glean: Export new ReasonCode class and remove unused ones 2023-02-01 13:08:39 +00:00
Mozilla L10n Automation Bot
bd17ff7972 Import l10n. 2023-01-30 01:38:45 +00:00
Mozilla L10n Automation Bot
89d5f65999 Import l10n. 2023-01-28 00:48:05 +00:00
Mozilla L10n Automation Bot
2269ea9ce0 Import l10n. 2023-01-27 03:14:03 +00:00
Mozilla L10n Automation Bot
6b9e4303df Import l10n. 2023-01-25 01:39:12 +00:00
Mozilla L10n Automation Bot
039605fd83 Import l10n. 2023-01-23 00:43:58 +00:00
Mozilla L10n Automation Bot
2c418ee79f Import l10n. 2023-01-21 16:32:48 +00:00
Alexandru2909
64f875d289 Bug 1802975 - Allow crash dumps to be shared using Talkback 2023-01-05 08:07:43 +00:00
Mozilla L10n Automation Bot
bec0bb4839 Import l10n. 2022-12-28 02:15:09 +00:00
Mozilla L10n Automation Bot
130360184d Import l10n. 2022-12-27 01:01:49 +00:00
Mozilla L10n Automation Bot
f1082aeac8 Import l10n. 2022-12-24 00:48:23 +00:00
mcarare
b7644389e5 Bug 1804527 - Replace deprecated AC mailing list. 2022-12-15 23:40:18 +00:00
Ben Dean-Kawamura
859ae08cc2 Bug 1801349 - Synchronize access to the crash reporter breadcrumbs list
Second try at fixing access to the breadcrumbs list:
  - Created a `BreadcrumbList` class that implements the API we need
    with all methods tagged with `@Synchronized
  - Use this instead of an `ArrayList<>` in `CrashReporter` and make it
    a private field so all access must go through the synchronized API.
  - Updated the tests to use the new API
2022-12-15 22:59:23 +00:00
Ben Dean-Kawamura
ac04546caf Bug 1804157 - Adding back breadcrumb date changes
These changes don't seem to be causing the crash, so let's not back them
out.
2022-12-08 20:24:37 +00:00
Ben Dean-Kawamura
2ecb64ab9e Bug 1804157 - Revert "Bug 1801349 - Sentry breadcrumb fixes"
This reverts commit 2a0d18a4b542bb8a7da59e0e2b9d6299a5240172.
2022-12-08 20:24:37 +00:00
Ben Dean-Kawamura
8e79530bf6 Bug 1801834: Fix Breadcrumbs stores only max number of breadcrumbs test
I missed adding a scope to one of the CrashReporter constructors.  I
think this should fix the test errors.
2022-11-24 12:19:12 +00:00
Christian Sadilek
4091b14a33 Fix android lint in composite builds 2022-11-21 13:40:53 -05:00
Ben Dean-Kawamura
d29e0e539b Bug 1801611: Fix CrashReporterTest
The test was failing intermittently because `recordCrashBreadcrumb` now
runs in a coroutine context.  Make sure to run that context before
checking the results.
2022-11-21 16:16:01 +00:00
Alexandru2909
37b09f7b2b Bug 1796379 - Upstream String.toShortUrl to support-ktx 2022-11-21 13:36:48 +00:00
Ben Dean-Kawamura
7ef160477c Bug 1801349 - Sentry breadcrumb fixes
Hopefully the issue with the timestamps was simply that we were
recording them, but not copying them to the Sentry
breadcrumb class.

The issue with duplicate items looks like it could be a threading issue
to me and AFAICT when multiple threads report breadcrumbs, we are
currently mutating the array without any synchronization.
2022-11-21 07:15:43 +00:00
Mihai Adrian Carare
e087b524a6 Bug 1796353 - Build with compileSdkVersion for Android 13 / API 33. (https://github.com/mozilla-mobile/firefox-android/pull/62)
* Bug 1796353 - Build with compileSdkVersion for Android 13 / API 33.

* Bug 1796353 - Update method signature for View.AccessibilityDelegate.

* Bug 1796353 - Handle AccessibilityNodeInfo.CollectionInfo.obtain deprecation.

* Bug 1796353 - Update method signature for View.OnAttachStateChangeListener.

* Bug 1796353 - Handle getParcelableExtra(String) deprecation.

* Bug 1796353 - Handle getParcelable(String) deprecation.

* Bug 1796353 - Handle getParcelableArrayListExtra(String) deprecation.

* Bug 1796353 - Move URLStringUtils to ktx package.

This is needed to avoid circular dependencies for some needed changes.

* Bug 1796353 - Suppress deprecation for get(String).

* Bug 1796353 - Replace removed method setAppCacheEnabled.

* Bug 1796353 - Handle PackageManager methods deprecations.

* Bug 1796353 - Handle getSerializable(String) deprecation.

* Bug 1796353 - Handle stopForeground deprecation.

* Bug 1796353 - Update method signature for GestureDetector.SimpleOnGestureListener.

* Bug 1796353 - Handle AccessibilityEvent.obtain deprecation.

* Bug 1796353 - Handle getParcelableArrayList(String) deprecation.

* Bug 1796353 - Handle getParcelableArray(String) deprecation.

* Bug 1796353 - Handle getSerializableExtra(String) deprecation.

* Bug 1796353 - Handle readParcelable(classLoader) deprecation.

* Bug 1796353 - Handle FillResponse.Builder setAuthentication deprecation.

* Bug 1796353 - Handle Dataset.Builder setValue deprecation.

* Bug 1796353 - Suppress get(String) deprecation.

We still need to use this method because we do not know the type beforehand.

* Bug 1796353 - Handle onBackPressed() deprecation.

* Bug 1796353 - Suppress queryBroadcastReceivers deprecation.

* Bug 1796353 - Suppress package manager methods deprecation.

* Bug 1796353 - Catch and report exceptions when handling touch event detection.

* Bug 1796353 - Suppress deprecation for getPackageInfo used in tests with SDK 28.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-16 00:35:40 -05:00
Gabriel Luong
3cf2c74734 Bug 1800540 - Refactor PublicSuffixListPlugin into a plugin using composite build 2022-11-15 01:37:25 +00:00
Mozilla L10n Automation Bot
29874a1b39 Import l10n. 2022-11-14 00:22:54 +00:00
Mozilla L10n Automation Bot
88312c6090 Import l10n. 2022-11-11 00:25:26 +00:00
mcarare
ef3c3593c1 [components] No issue: Update AndroidX Annotation to the latest version.
Update imports for annotations moved to Companion Object.
2022-10-25 19:19:29 +00:00
mcarare
e1ab54ff44 [components] No issue: Update metrics.md files from glean_parser v6.2.1 2022-10-25 17:15:56 +00:00
mcarare
4ad330adbc [components] For https://github.com/mozilla-mobile/android-components/issues/12489: Upgrade kotlin, coroutines, compose compiler to latest versions.
Upgrade kotlin to 1.7.20, coroutines to 1.6.4 and compose compiler to 1.3.2.
Replace deprecated Xopt-in with op-in.
Replace deprecated Xjvm-default=enable with Xjvm-default=all.
Remove useIR property that is now default true.
2022-10-18 08:20:59 +00:00
Gabriel Luong
d9d783b698 [components] Issue https://github.com/mozilla-mobile/android-components/issues/12939: Address all ktlint issues 2022-10-17 17:07:40 -04:00
Mozilla L10n Automation Bot
6f898551b4 [components] Import l10n. 2022-10-16 00:22:01 +00:00
mcarare
5039c5e30d [components] For https://github.com/mozilla-mobile/android-components/issues/12500: Fix ktlint issues.
Also remove issues from ktlint baseline.
2022-10-11 07:17:12 +00:00
mcarare
89c716d240 [components] For https://github.com/mozilla-mobile/android-components/issues/12500: Handle OnLifecycleEvent deprecations. 2022-10-11 07:17:12 +00:00
Ryan VanderMeulen
cab349c088 [components] Update some Gradle dependencies
Also remove references to the obsolete androidmavenpublish plugin which was replaced previously.
2022-10-05 21:30:26 +00:00
Mozilla L10n Automation Bot
799367099c [components] Import l10n. 2022-09-20 00:22:20 +00:00
Mozilla L10n Automation Bot
b4cf4ab10b [components] Import l10n. 2022-09-15 01:19:26 +00:00
Mozilla L10n Automation Bot
c3fc0c8248 [components] Import l10n. 2022-09-13 00:24:27 +00:00
Mozilla L10n Automation Bot
6c1e645203 [components] Import l10n. 2022-09-11 00:19:17 +00:00
mcarare
92fe0c0234 [components] For https://github.com/mozilla-mobile/android-components/issues/12724: Upgrade compose to 1.2.1 version.
Split versioning of compose compiler.
Enable Xjvm-default to allow inheriting from interfaces with '@JvmDefault' members
like RememberObserver.
2022-09-08 08:22:09 +00:00
Ryan VanderMeulen
242051fb12 [components] Issue BZ-1776525: Update Firebase Cloud Messaging to 23.0.8
Co-authored-by: RyanVM
2022-09-08 02:14:32 +00:00
Mozilla L10n Automation Bot
1b14baec2a [components] Import l10n. 2022-09-08 00:20:22 +00:00
Mozilla L10n Automation Bot
23f86cc74a [components] Import l10n. 2022-09-05 00:24:11 +00:00
mcarare
6b1a2d5dcb [components] For https://github.com/mozilla-mobile/android-components/issues/12381: Replace VisibleForTesting with @get:VisibleForTesting. 2022-08-31 09:47:47 +00:00
Mozilla L10n Automation Bot
291f58aa12 [components] Import l10n. 2022-08-29 00:25:29 +00:00
Mozilla L10n Automation Bot
2be03ebeee [components] Import l10n. 2022-08-27 00:24:35 +00:00
Mozilla L10n Automation Bot
1e9a07c0e9 [components] Import l10n. 2022-08-26 10:13:36 +00:00
Mozilla L10n Automation Bot
8dc948eceb [components] Import l10n. 2022-08-25 00:24:10 +00:00
Tarik Eshaq
f52779dfab [components] Upgrades appservices to 94.1.0 2022-08-19 12:35:38 +00:00
Mozilla L10n Automation Bot
a4c99e58fc [components] Import l10n. 2022-08-19 00:29:30 +00:00
Mozilla L10n Automation Bot
bb3eb46a46 [components] Import l10n. 2022-08-18 00:23:13 +00:00
Mozilla L10n Automation Bot
bd9f15d804 [components] Import l10n. 2022-08-17 00:43:35 +00:00
Mozilla L10n Automation Bot
67edbe7d0f [components] Import l10n. 2022-08-16 00:26:25 +00:00
Mozilla L10n Automation Bot
88e2de43e9 [components] Import l10n. 2022-08-15 00:24:35 +00:00
Mozilla L10n Automation Bot
0fe992ac90 [components] Import l10n. 2022-08-14 14:44:17 +00:00
Mozilla L10n Automation Bot
3c3e730c27 [components] Import l10n. 2022-08-13 00:21:38 +00:00
Mozilla L10n Automation Bot
f36f9fead0 [components] Import l10n. 2022-08-12 00:15:51 +00:00
Mozilla L10n Automation Bot
f29228e87a [components] Import l10n. 2022-08-10 10:16:39 +00:00
Mozilla L10n Automation Bot
11f8ece2e9 [components] Import l10n. 2022-08-09 00:23:59 +00:00
Mozilla L10n Automation Bot
23a7b3f437 [components] Import l10n. 2022-08-08 00:27:30 +00:00
Mozilla L10n Automation Bot
c7e47592d8 [components] Import l10n. 2022-08-07 20:51:52 +00:00
Mozilla L10n Automation Bot
5dd0ff37cb [components] Import l10n. 2022-08-06 00:22:21 +00:00
Mozilla L10n Automation Bot
551cea2f0e [components] Import l10n. 2022-08-05 00:20:46 +00:00
Mozilla L10n Automation Bot
8b96068192 [components] Import l10n. 2022-08-04 00:21:34 +00:00
Roger Yang
72fb7fe23b [components] Close https://github.com/mozilla-mobile/android-components/issues/12538: Crash notification will always trigger the crash prompt dialog 2022-08-03 14:55:23 +00:00
Mozilla L10n Automation Bot
db6bcee0e1 [components] Import l10n. 2022-08-03 00:23:06 +00:00
Mozilla L10n Automation Bot
b091f03321 [components] Import l10n. 2022-08-01 00:22:18 +00:00
Mozilla L10n Automation Bot
a4b61db992 [components] Import l10n. 2022-07-28 00:26:37 +00:00
Mozilla L10n Automation Bot
92e4ad4ac9 [components] Import l10n. 2022-07-23 00:18:32 +00:00
Mozilla L10n Automation Bot
ffaf449c0b [components] Import l10n. 2022-07-21 00:27:13 +00:00