Commit Graph

122 Commits (e46a3545ae917b611b38a55ac77d16008c2315a9)

Author SHA1 Message Date
Ryan VanderMeulen e46a3545ae 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.
7 months ago
mcarare 4534af3454 Bug 1821005 - Add uses-feature tag for camera permission.
Having the camera permission automatically adds a camera hardware requirement. This removes that requirement for devices to have a camera.
7 months ago
mcarare 645b266285 Bug 1849833 - Replace deprecated extractNativeLibs manifest attribute.
Starting with AGP 4.2.0, the DSL option useLegacyPackaging replaces the extractNativeLibs manifest attribute.
https://developer.android.com/guide/topics/manifest/application-element#extractNativeLibs
7 months ago
Roger Yang 6f38969160 Revert "Bug 1843610 - Add telemetry for deferred deep link test"
This reverts commit 186a4b76e5be73466397c0c2fcaca4eaaa2a88da.
8 months ago
DreVla 0e1412c651 Bug 1845747 - Add "Add search widget" card for Juno Onboarding
Added a new card for the Juno Onboarding, "Add search widget
to homescreen". This is an experiment that aims to increase
DAU and searches.
9 months ago
mcarare 1f43b5e865 Bug 1847141 - Remove hardcoding of RECEIVE_DOWNLOAD_BROADCAST_PERMISSION 9 months ago
mcarare 3a55ab9a19 Bug 1847141 - Restrict receiving download broadcasts. 9 months ago
Roger Yang 36414d3632 Bug 1843610 - Add telemetry for deferred deep link test 11 months ago
mike a 9deabdfa42 Bug 1839522 – added splash screen compat implementation, tied extra duration to the experiment 11 months ago
Jonathan Almeida 3ee301b924 Bug 1827716 - Remove adveritising of TWA support in AndroidManifest
This is the last remaining part to remove that was started in
https://github.com/mozilla-mobile/android-components/issues/12024.
1 year ago
Geoff Brown 945c5534fc Bug 1825116 - Add license notice where missing (#1637)
* Bug 1825116 - Add license notice where missing

* Bug 1825116 - Revert changes to strings.xml

* Bug 1825116 - Restore ic_cc*.xml
1 year ago
Titouan Thibaud e9246a0aa3 Bug 1805683 - upstream Nimbus Messaging from Fenix to Android Components 1 year ago
Christian Sadilek b950e808ef Bug 1825028 - Delay init of MozillaOnline build until privacy notice accepted
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
1 year ago
rahulsainani 5913d09770 Bug 1807324 - Add macrobenchmarks for startup metrics 1 year ago
mcarare 6dd7b106cf 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
1 year ago
mcarare cd3e9cf23b [fenix] Bug 1811795 - Add granular media permissions. 1 year ago
t-p-white 9946146ecf [fenix] For 1811851: Update message notification worker to handle when a user clicks or dismisses a Notification. (https://github.com/mozilla-mobile/fenix/pull/28655)
* For 1811851: Change MessageNotificationWorker.kt to handle when a user clicks or dismisses a Notification.

* For 1811851: Re-work based on review

---------

Co-authored-by: t-p-white <t-p-white>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 year ago
Jeff Boek 2685dc12fb [fenix] For https://github.com/mozilla-mobile/fenix/issues/25608 - Adds `foregroundServiceType` to MediaSessionService 1 year ago
mcarare 355804f2c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26633: Add post notifications permission. 2 years ago
ohall-m d4f001108b [fenix] For https://github.com/mozilla-mobile/fenix/issues/27458: Add AD_ID Permission
Added AD_ID Permission to Manifest for Android 13.
2 years ago
Arturo Mejia 379fdc5252 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21102: Build with SDK for Android 12 / API 31 (https://github.com/mozilla-mobile/fenix/pull/25494)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2 years ago
Sebastian Kaspari 51f88636e9 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22489: Remove "Fennec to Fenix" migration code 2 years ago
indu 8d7ea92ff2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/24037: Do voice search in a separate task
This allows voice search to open in a separate window instead of opening in the same Picture-In-Picture window,  thereby making it easier to interact with the voice search.
2 years ago
Rohan Maity bee88db440 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20634 remove some lint issues from baseline 2 years ago
Sarah Khan ab9bc7c071 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23596 and https://github.com/mozilla-mobile/fenix/issues/23309 - Add deeplink to wallpaper settings 2 years ago
Jonathan Almeida 84e710aff7 [fenix] Update lifecycle dependencies to the commons library
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2 years ago
mcarare be7ae5e488 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22577: Update work manager version to 2.7.1 2 years ago
Sebastian Kaspari e76776647c [fenix] Android Autofill: Enable keyboard inline autofill suggestions 3 years ago
Sebastian Kaspari e38ed593d4 [fenix] Enable Android Autofill support in all build types. 3 years ago
Aaron Klotz 6c8838adb7 [fenix] Explicitly set android:extractNativeLibs to true in ApplicationManifest.xml
The Android Gradle Plugin's default for android:extractNativeLibs changed from
true to false beginning with version 3.6.0. Based on GeckoView's needs, we
should ensure that this attribute is explicitly set to true.
3 years ago
Arturo Mejia 597b246961 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/17805 - Fix adjustResize deprecation (https://github.com/mozilla-mobile/fenix/pull/18252)"
This reverts commit 72754a50
3 years ago
Codrut Topliceanu 4fb1bbf431 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17805 - Fix adjustResize deprecation (https://github.com/mozilla-mobile/fenix/pull/18252)
* For https://github.com/mozilla-mobile/fenix/issues/17805 - Fix adjustResize deprecation

To handle the deprecation of `adjustResize` I've moved it from `styles.xml` and `AndroidManifest.xml` to `Activity.kt` as a fallback for devices with Android < 11. For Android 11 and up `setDecorFitsSystemWindows(false)` and `OnApplyWindowInsetsListener` will be used to handle app insets. Normal use activities should call `enableSystemInsetsHandling` in `onCreate` as to properly display system bars and for proper keyboard handling.
3 years ago
Mugurell bf1759d01b [fenix] For https://github.com/mozilla-mobile/fenix/issues/17963 - Present Fenix as a browser app to the system
Fenix will now be able to be started from a call to
Intent.makeMainSelectorActivity(Intent.ACTION_MAIN, Intent.CATEGORY_APP_BROWSER)

For more info:
https://developer.android.com/reference/android/content/Intent#CATEGORY_APP_BROWSER
3 years ago
mcarare 0bd90ffb7a [fenix] For https://github.com/mozilla-mobile/fenix/issues/18195: Fix speech recognition for voice search in widget. 3 years ago
Arturo Mejia 59b50be098 [fenix] Target Android 11 3 years ago
Sebastian Kaspari ac67fc9de6 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/17174: Remove usage of old media APIs. 3 years ago
Arturo Mejia b863777940 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12822 - Opt-in of scoped storage 3 years ago
rxu 5c17f03edb [fenix] Pop out privacy notice in first launch in MozillaOnline builds
Add privacy notice related strings

Pop out privacy notice with onboarding

Using embeded geckoview to display details about privacy

Present or hide privacy pop window according to isMozillaOnline

Add activity_privacy_content_display.xml into layoutNotToTest due to EngineView
3 years ago
Roger Yang 30305ae436 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/16896: Integrate new MediaSession API to nightly or debug builds (https://github.com/mozilla-mobile/fenix/pull/16909) 4 years ago
Sebastian Kaspari 9c7e0ad770 [fenix] Update Android Components, Kotlin, Gradle plugin (https://github.com/mozilla-mobile/fenix/pull/16021)
* Closes https://github.com/mozilla-mobile/fenix/issues/13262: Update AGP to 4

* Update to Mozilla Android Components 63.0.20201019090011.

* Update Kotlin to 1.4.10 and Coroutines to 1.3.9.

* Fix new compiler warnings.

* Fix compilation of lint rules module.

* Pin JNA version.

* Fix new lint errors.

Co-authored-by: Tiger Oakes <toakes@mozilla.com>
4 years ago
Mihai Branescu 61b3f14592 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11051 - added intent check for voice search
Also made the activity translucent so that it won't flicker when the user pressses the button and Google app is disabled
4 years ago
Gilbert Gilb's 17973c382e [fenix] Add custom Activity to show libraries licenses.
As Google's library for showing licences isn't open-source, this commit
reimplements its main Activity. This is in prevision to having an OSS
flavor of fenix.

We chose to not introduce dependencies to third-party libraries
such as AboutLibraries for now, and we'll stick to using Google's gradle
plugin for the dependencies extraction.

Fixes https://github.com/mozilla-mobile/fenix/issues/7584

See also https://github.com/mozilla-mobile/fenix/issues/162
4 years ago
Tiger Oakes 1f7bb1af2e [fenix] Use AC version of PrivateNotificationService (https://github.com/mozilla-mobile/fenix/pull/12459) 4 years ago
Michael Comella d11908ce34 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4132: remove BrowserPerformanceTestActivity & usages. 4 years ago
ekager 0d40fa830c [fenix] For https://github.com/mozilla-mobile/fenix/issues/13228 - Disable Firebase analytics a second way 4 years ago
Sachin 12202411d3 [fenix] for https://github.com/mozilla-mobile/fenix/issues/11698 added on demand workmanager initialization (https://github.com/mozilla-mobile/fenix/pull/12739) 4 years ago
Mugurell efa1351277 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12772 - Opt-out of scoped storage
Targeting Android 10 means we need to support scoped storage or we need to
opt-out of that using requestLegacyExternalStorage="true".

This patch adds the opting-out leaving investigations for what changes we need
for fully supporting scoped storage to be done in issue https://github.com/mozilla-mobile/fenix/issues/12822.
4 years ago
James Hugman 800e55e69a [fenix] Remove need to specify component names for new intents 4 years ago
Tiger Oakes 057cc0966e [fenix] For https://github.com/mozilla-mobile/fenix/issues/12095: Remove TWA feature flag (https://github.com/mozilla-mobile/fenix/pull/12096) 4 years ago
Jonathan Almeida 9ba56bd918 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10885: Don't add migration activity to history stack 4 years ago