Julien Cristau
bf00a15eb7
Bug 1876323 - port firefox-android getGitHash functions to add mercurial support. r=owlish,ahal,nalexander,geckoview-reviewers,firefox-build-system-reviewers,tthibaud,android-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D201392
2024-01-24 13:18:08 +01:00
github-actions
71356474b3
Import translations from android-l10n
2024-02-03 00:26:38 +00:00
rahulsainani
2e836eb562
Bug 1872137 - Extract test mode log sink logic
2023-12-28 10:15:50 +00:00
rahulsainani
6a48d4e927
Bug 1870798 - Use fakes in log tests
2023-12-21 12:23:32 +00:00
rahulsainani
236d307014
Bug 1867606 - Make message param logging api non nullable
2023-12-19 09:58:19 +00:00
mcarare
60d3978145
Bug 1821005 - Restore reverted Gradle 8 upgrade due to startup crashes"
...
This reverts commit 592e88b3547d2e96ae04d8b5bd69cbab2ac3e97e.
2023-12-05 03:44:20 +00:00
github-actions
f8593e994f
Import translations from android-l10n
2023-11-11 00:30:35 +00:00
Ryan VanderMeulen
c65ab071b9
Bug 1821005 - Revert Gradle 8 upgrade due to startup crashes
...
Revert "Bug 1863744 - Update Gradle to version 8.4"
This reverts commit 829795632954148709fbe945c78d55cc62053ac8.
Revert "Bug 1821005 - Apply additional keep rules for missing classes detected while running R8."
This reverts commit 8f3f246cc5ff571323f56d46963d8d176bec91e3.
Revert "Bug 1821005 - Set UI_INJECTION_HOST mode for lint in test."
This reverts commit 6962bf0b5df57781045f68417f76527bcdf521ab.
Revert "Bug 1821005 - Include sourcesJar as an input of publishing."
This reverts commit 41b2a48da577787c3189eec8c8af71c35cfecbfb.
Revert "Bug 1821005 - Set compileOptions for android subprojects."
This reverts commit fb21df9d0a9cd585e216733dc1bf929636df20f1.
Revert "Bug 1821005 - Replace deprecated project.buildDir"
This reverts commit 6f880de46ec73f7e5240a0279108bbb6aeb0f63b.
Revert "Bug 1821005 - Exclude generated metrics docs from detekt."
This reverts commit f17d2430bf1daabeed2724312354018050f3f52a.
Revert "Bug 1821005 - Exclude build in extensions versioning from detekt."
This reverts commit 34144c5ad1d62e2d85492f8d32341bbcd032690b.
Revert "Bug 1821005 - Add uses-feature tag for camera permission."
This reverts commit 13c80944bd1756cdcaa98eef783b6a23ad12cabd.
Revert "Bug 1821005 - Set nonTransitiveRClass and nonFinalResIds build flags to false."
This reverts commit 219fbc19c54134ad264edc79642fa1799c6f54d6.
Revert "Bug 1821005 - Apply plugin: 'kotlin-android' for UI modules."
This reverts commit ddbd5e18eb9d2b33b4de4a6df48d97ec4ab42963.
Revert "Bug 1821005 - Enable generation of the BuildConfig class"
This reverts commit 65c2b8c63790fbd2352f3f94b99c80d81d18dae1.
Revert "Bug 1821005 - Add namespace to samples-glean-library module"
This reverts commit 0239233efb1cc4e896e4aa0337e3da911eeb2f1c.
Revert "Bug 1821005 - Replace deprecated toLowerCase with lowercase."
This reverts commit 69f2c66aad3aa638a1bab31b2a1e6c597d1f3992.
Revert "Bug 1821005 - Replace deprecated 'toInt' method with 'code' property."
This reverts commit 7adb38a6fbe20de3fdb6723a10e574d183e7fcff.
Revert "Bug 1821005 - Replace deprecated execResult."
This reverts commit bfd02dd16d7e5c9dbcf34858fbbe4176d698f8cd.
Revert "Bug 1849833 - Replace deprecated extractNativeLibs manifest attribute."
This reverts commit a05bc9618457ab2d71a5d3d88d8d3b0318497a54.
Revert "Bug 1821005 - Upgrade AGP to 8.0.2"
This reverts commit fc0fadd63553e2144ce074454d502ecf307eb988.
Revert "Bug 1821005 - Upgrade kotlin-dsl to 4.1.0."
This reverts commit 14e8903e922fa22e28450520be3b6152be6a3a8f.
Revert "Bug 1821005 - Upgrade Gradle to 8.3 version."
This reverts commit f14f447a4d43588d24e4ca3efde0668ddcf7cf08.
2023-11-08 13:35:38 -05:00
mcarare
3172019bb5
Bug 1821005 - Replace deprecated project.buildDir
...
This has been replaced by project.layout.buildDirectory.
2023-11-08 09:10:09 +00:00
mcarare
04345cb27b
Bug 1821005 - Enable generation of the BuildConfig class
...
For modules that use buildConfigField and generate metrics, because BuildConfig is not generated by default after Gradle 8.
2023-11-08 09:10:09 +00:00
mcarare
063c553913
Bug 1849833 - Replace deprecated compileSdkVersion.
...
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
mcarare
6f74928149
Revert "Bug 1826933 - Use WeakHashMap and WeakReference for activity and launcher."
...
This reverts commit f757185c84882b06a846daf82f103b5d26de449e.
2023-09-05 19:21:52 +00:00
mcarare
d3f115cb28
Revert "Bug 1826933 - Add tests for NotificationsDelegate."
...
This reverts commit 029bc686b1b45477dfb15ce29b64c2d5df1cd3a1.
2023-09-05 19:21:52 +00:00
mike a
90cc12c255
Bug 1815637 - cherry picking 548379d, the original rtl commit
2023-08-04 04:32:44 +00:00
MatthewTighe
c87183c8b5
Bug 1843168 - Expose Mockito through test support component
2023-07-24 18:02:09 +00:00
mcarare
f9788ea7f9
Bug 1826933 - Add tests for NotificationsDelegate.
2023-07-19 13:43:08 +00:00
mcarare
6c1a1f7e11
Bug 1826933 - Use WeakHashMap and WeakReference for activity and launcher.
...
This avoids memory leaks when Activity onDestroy is not called.
2023-07-19 13:43:08 +00:00
Arturo Mejia
8b238ff494
Reverts "Bug 1815637 - Add rtl support."
2023-07-13 17:55:12 +00:00
github-actions
671c33c1b3
Import translations from android-l10n
2023-07-04 00:29:41 +00:00
rahulsainani
e12c625abe
Bug 1838862 - Remove unused BackHandler
2023-06-22 11:10:31 +00:00
rahulsainani
4cd72dc615
Bug 1838613 - Migrate NotificationManagerCompat ext to AC
2023-06-19 08:47:24 +00:00
mike a
0f6ee09218
Bug 1815637 - Add rtl support
2023-05-09 18:41:08 +00:00
Ryan VanderMeulen
e4c18d61f3
Bug 1831023 - Update AndroidX Appcompat to version 1.6.1 ( https://github.com/mozilla-mobile/firefox-android/pull/1884 )
...
* Bug 1831023 - Update AndroidX Appcompat to version 1.6.1
* Bug 1831023 - Add manifest entry for push notification permission
* Bug 1831023 - Add suppression for MissingPermission linter failure
* Bug 1831023 - Add super.onBackPressed() to TrackingProtectionPanelDialogFragment.kt
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-03 23:27:40 +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
cbcc2058d5
Import translations from android-l10n
2023-04-26 01:24:45 +00:00
Ben Dean-Kawamura
fe1ad0b0e0
Bug 1823462 - New application-services release system
...
Application services is going to switch to rapid-release / train style
model where:
- The version numbers correspond to the Fx version (113.x for the
current nightly cycle).
- There are nightly builds for the current nightly release (for
example 113.[timestamp]
- At the end of the nightly release cycle, there's a release (for
example 113.0)
- There may be subsequent releases if changes are uplifted (for
example 113.1)
- Updated the gradle code to handle the new system. The application
services versioning is stored in the version/channel fields of the
`ApplicationServicesConfig` object.
- Updated the gradle code to fetch packages from the Maven
nightly/staging repos if needed.
- Updated relbot to 6.1.0. This is needed to handle the a-s nightly
version bump.
- Updated creating-a-release-branch docs
2023-04-25 02:13:24 +00:00
github-actions
639a0f0c29
Import translations from android-l10n
2023-04-20 03:44:36 +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
0308d1b859
Bug 1811795 - Allow showing an explanation prompt before requesting permission.
2023-03-30 15:04:03 -04:00
mcarare
af41a698b0
Bug 1796348 - Remove unused notify extension methods in SharedIdsHelper.
2023-03-30 15:04:03 -04:00
mcarare
4d40582169
Bug 1796348 - Implement a lint check to avoid calling notify directly.
...
All attempts to show a notification should be handled through NotificationDelegate.
2023-03-30 15:04:03 -04:00
mcarare
bc1f03d940
Bug 1796348 - Implement a notification delegate.
...
This can be used to show notifications or request notifications permission.
2023-03-30 15:04:03 -04:00
github-actions
f5ca4d2c8c
Import translations from android-l10n
2023-03-09 00:54:00 +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
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
Mozilla L10n Automation Bot
bd17ff7972
Import l10n.
2023-01-30 01:38:45 +00:00
Mozilla L10n Automation Bot
039605fd83
Import l10n.
2023-01-23 00:43:58 +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
eb88d37e79
Import l10n.
2022-12-23 17:38:00 +00:00
Christian Sadilek
4091b14a33
Fix android lint in composite builds
2022-11-21 13:40:53 -05: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
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
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
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
mcarare
4b082d646d
[components] For https://github.com/mozilla-mobile/android-components/issues/12500 : Fix duplicate class androidx.lifecycle.ViewModelLazy.
2022-10-11 07:17:12 +00:00
mcarare
97ae5efa57
[components] For https://github.com/mozilla-mobile/android-components/issues/12381 : Remove VisibleForTesting annotation.
...
Values are also accessed from code, not just from tests.
2022-08-31 09:47:47 +00:00