Commit Graph

278 Commits

Author SHA1 Message Date
Sebastian Kaspari
1b6cebf4d4 Switch to new SessionStorage / session restore API. 2021-01-05 17:11:57 +01:00
Sebastian Kaspari
2cada405d8 Update Android Components to 69.0.20201207103252. 2020-12-07 15:21:08 +01:00
Elise Richards
77f061c362 Closes #8791: Use A-C tab counter and upgrades to A-C 69.0.20201203202830
Upgrades to A-C 69.0.20201203202830 and addresses breaking changes:
- Upgrades androidx workmanager to 2.4.0 in line with A-C.
- RecordingDevicesNotificationFeature was removed
- SearchUseCases accept parent session ID instead of session itself
2020-12-03 17:45:01 -05:00
jhugman
ea9f692007
Nimbus-SDK-119 Get Nimbus server endpoint at build time. (#16682)
This PR builds on [AC##9024][1], and implements setting the Nimbus endpoints from [a secret set at build time][2].

For production use, this requires a secret named `nimbus_url` to be put into CI.

Note: Nimbus is currently behind a feature flag.

If developers wish to use a Nimbus server for local development, you can set the url by adding an entry into local.properties, e.g.:

```
nimbus.remote-settings.url=https://settings.stage.moz4ws.net
```

Without setting server, Nimbus will be able to function, except no experimental definitions will be fetched, and features under experiment will be configured as if not enrolled in the experiment.

[1]: https://github.com/mozilla-mobile/android-components/pull/9024
[2]: https://groups.google.com/a/mozilla.com/g/android-components-team/c/lAGVKQy8aiA/m/rY3uGAwhBAAJ
2020-12-03 16:30:20 +00:00
Sebastian Kaspari
23edda5f65 Introduce build flag for configuring test build type. 2020-11-30 18:54:20 +01:00
Sebastian Kaspari
0a419efa92 Introduce build flag for disabling optmization. 2020-11-30 18:54:20 +01:00
jhugman
9cdfb6db4a
Nimbus Global Opt Out (#16543) r=gl 2020-11-19 11:17:25 +00:00
Sebastian Kaspari
5530e102f1
For #16302 - Use larger heap size when running unit tests and fork new process after every 80 test classes. (#16526) 2020-11-12 11:09:27 -05:00
Sebastian Kaspari
baaa85db80 Closes #16256: Introduce build flag for "Mozilla Online" variant.
This patch introduces a build flag that can be used on demand on the command line (`./gradlew -PmozillaOnline [..}`) or
permanently when added to local.properties (`mozillaOnline`).

At runtime `Config.channel.isMozillaOnline` will return `true` if the flag was set at build time.
2020-11-03 10:34:25 +01:00
Sebastian Kaspari
2da24cd91d
Update Android Components, Kotlin, Gradle plugin (#16021)
* Closes #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>
2020-10-19 14:07:47 -04:00
Christian Sadilek
f59cfd961c Configure M5 AMO collection for all builds 2020-10-19 11:19:47 -04:00
ekager
d208ffe002
For #7345 - Update new shield icons, remove lottie (#15909) 2020-10-16 16:01:38 -07:00
Michael Comella
341a92a10e For #15280: add current ConstraintLayout warnings to lint baseline. 2020-10-14 15:20:28 -07:00
Mugurell
dd83130d9f For #15890 - Ensure app locale switcher works for Windows builds
A hardcoded unix file separator prevented us from building a proper list of
locales for which we actually have packaged translations.
2020-10-14 15:34:39 +02:00
Jonathan Almeida
23d9951e78 Upgrade to Android Component 62.0.20201006190820 with breaking changes 2020-10-07 20:01:35 -04:00
Michael Comella
f690f8736d No issue: replace LintUnitTestRunner with detekt implementation.
This should be more performant and easier to maintain.
2020-10-01 16:06:53 -07:00
Christian Sadilek
81aaacda61 Configure M5 AMO collection for Nightly/Debug 2020-09-25 11:18:07 -04:00
Christian Sadilek
601e847094 Configure M4 AMO collection for all builds 2020-09-22 19:01:37 -04:00
ekager
09fbb43f80 For #2486 - Adds Recently Closed Tabs 2020-09-11 12:02:30 -07:00
Christian Sadilek
a2368e2a1e Configure M4 AMO collection for Nightly/Debug 2020-09-02 18:25:23 -04:00
Tiger Oakes
d762dea49d Gradle configuration avoidance 2020-09-01 18:58:52 -07:00
Jeff Boek
ff805e53ed For #14318 - Use old API to try to fix startup crash without GPS 2020-08-28 13:04:22 -07:00
Elise Richards
e96eb25682 Allow play store in app review to be shown to users 2020-08-26 21:02:02 -07:00
Gabriel Luong
04dcfa5cab
For #8312 - Show Top Sites in a ViewPager (#14116) 2020-08-24 19:52:33 -04:00
Kainalu Hagiwara
c119070e21 For #13030 - Use material design animation values for swipe to switch tabs. 2020-08-18 14:59:05 +03:00
Gilbert Gilb's
2743c37b40 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 #7584

See also #162
2020-08-17 19:18:22 -07:00
Sebastian Kaspari
c93a29f89a Simplify build variants to just: debug, nightly, beta and release.
Co-authored-by: Johan Lorenzo <jlorenzo@mozilla.com>
2020-08-06 11:52:10 +02:00
Michael Comella
f319b457bf For #4132: remove raptor property and isRaptorEnabled manifest placeholder.
afaict, this is only used for BrowserPerformanceTestActivity, which is
being removed in this PR.
2020-08-05 10:15:46 -07:00
Tiger Oakes
c1c7de5c1a
For #13262: Update gradle (#13263) 2020-08-05 09:17:30 -07:00
Tiger Oakes
f3f470a977
For #13140: Use concept-menu for saved logins menu (#13143) 2020-08-02 18:48:10 -07:00
Ankur Khandelwal
ddfb3dfa72
Renamed Deps.mozilla_ui_publicsuffixlist to Deps.mozilla_lib_publicsuffixlist (#13201) 2020-08-02 17:23:39 -04:00
Tiger Oakes
d8ff6179fe
For #7992: Use favicon style from AC (#12608) 2020-07-30 11:21:17 -07:00
Jonathan Almeida
53a4f63393 For #12983: Fix deep link scheme for nightly builds
When we simplified our variants, our deep link scheme for nightly was
lost.
2020-07-28 08:31:12 -04:00
Tiger Oakes
6ea94fd9af Add concept-menu dependency 2020-07-25 19:38:35 -04:00
Tiger Oakes
8c1d3dc827
For #12871 - Use local TWA DAL API (#12872) 2020-07-24 13:08:24 -07:00
Kainalu Hagiwara
e7dc5580b2 For #3481 - Implement swipe on toolbar to switch tabs. 2020-07-22 11:26:15 -07:00
Johan Lorenzo
7e7d69cb8e
Bug 1652979 - Stop producing fennecNightly, fenixNightly and fenixBeta (#12225) 2020-07-21 16:42:08 +02:00
Tiger Oakes
667261f511 Closes #12493: Remove kapt plugin 2020-07-16 10:38:03 -04:00
ekager
9ed85510ae For #7094 - Adds save login exceptions 2020-07-14 14:47:37 -04:00
Michael Comella
0df234cf76 For perf-frontend-issues#44: add local property to autosign release builds. 2020-07-10 10:55:32 -07:00
Tiger Oakes
c99a8f5cfa
Fixes #9832 - Change targetSdkVersion to Android 10 (#11014) 2020-07-09 10:50:51 -07:00
Christian Sadilek
27c608d956 Update built-in extensions for new AC/GV API
New API (installBuiltIn/ensureBuiltin) requires
- Gecko IDs and new permissions
- Extension will only be re-installed if it has a new version

This includes a gradle task to automatically generate a
new version in manifest.json for every build so we don't
forget to update the version and end up with changes that
are never applied.
2020-07-07 18:41:12 -04:00
Johan Lorenzo
4bc1cb94c5
Bug 1649400 - part 1: ship org.mozilla.fenix as a nightly product (#12127) 2020-07-01 11:03:10 +02:00
Christian Sadilek
665857ade8
Configure M3 AMO collection for all builds (#12055) 2020-06-29 11:16:06 -07:00
Jonathan Almeida
b7d989a588 Fix breaking API in WebNotificationFeature 2020-06-26 19:59:57 -04:00
Marc Leclair
ff5d00362b Added A-C version 48.0.20200626213814 2020-06-26 19:59:57 -04:00
Tiger Oakes
c958cc048a Update customtabs service 2020-06-24 23:26:49 -04:00
Christian Sadilek
773f4295bf Configure M3 AMO collection for Nightly/Debug 2020-06-24 21:55:57 -04:00
Tiger Oakes
ccb532bb77
For #11534 - Don't check lastUsed mode for screenshots (#11827) 2020-06-22 17:38:58 -07:00
Jonathan Almeida
e6da2bd910 Fix breaking APIs in TabsAdapter and ViewHolder 2020-06-13 16:02:31 -04:00