Commit Graph

102 Commits (84cf2472a82237b931aaa808654d14547e9935d7)

Author SHA1 Message Date
Adam Novak 84cf2472a8 Do all of Iceraven in one commit 2 years ago
Sebastian Kaspari 834d0ee12d Issue #22489: Remove "Fennec to Fenix" migration code 2 years ago
indu 468ab0ffa8 For #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 df0d196759 For #20634 remove some lint issues from baseline 2 years ago
Sarah Khan 26c7562e62 For #23596 and #23309 - Add deeplink to wallpaper settings 2 years ago
Jonathan Almeida d99898824b Update lifecycle dependencies to the commons library
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2 years ago
mcarare 5d1e2f0099 For #22577: Update work manager version to 2.7.1 2 years ago
Sebastian Kaspari b04eeccf14 Android Autofill: Enable keyboard inline autofill suggestions 2 years ago
Sebastian Kaspari 846274b7cd Enable Android Autofill support in all build types. 3 years ago
Aaron Klotz 0a0d48f48c 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 54db8f3fde Revert "For #17805 - Fix adjustResize deprecation (#18252)"
This reverts commit 38f906a6
3 years ago
Codrut Topliceanu 38f906a685
For #17805 - Fix adjustResize deprecation (#18252)
* For #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 7d2c3071ee For #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 80046c6978 For #18195: Fix speech recognition for voice search in widget. 3 years ago
Arturo Mejia 0e8dc6164d Target Android 11 3 years ago
Sebastian Kaspari f4f5e4b663 Issue #17174: Remove usage of old media APIs. 3 years ago
Arturo Mejia e3b6f060ae For #12822 - Opt-in of scoped storage 3 years ago
rxu be0382fca7 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 2ff7ba75c7
Closes #16896: Integrate new MediaSession API to nightly or debug builds (#16909) 3 years ago
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>
4 years ago
Mihai Branescu 3e1bc524b9 For #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 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
4 years ago
Tiger Oakes 57e557fd18
Use AC version of PrivateNotificationService (#12459) 4 years ago
Michael Comella 27c8a77c3f For #4132: remove BrowserPerformanceTestActivity & usages. 4 years ago
ekager f52ddbe74b For #13228 - Disable Firebase analytics a second way 4 years ago
Sachin 6a618aa318
for #11698 added on demand workmanager initialization (#12739) 4 years ago
Mugurell 596300591e For #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 #12822.
4 years ago
James Hugman 22689a9ff5 Remove need to specify component names for new intents 4 years ago
Tiger Oakes ed3a80a756
For #12095: Remove TWA feature flag (#12096) 4 years ago
Jonathan Almeida 8d7c911202 For #10885: Don't add migration activity to history stack 4 years ago
Sebastian Kaspari d58c022619 Integrate activity for showing past crashes. 4 years ago
Jonathan Almeida e97904662c Remove duplicate FirebasePushService
When we moved push to it's own component the class was supposed to have
been moved but git might have only picked it up as an addition.
4 years ago
ekager 56eb2ec1d7 For #2818 - Adds Picture-in-Picture feature 4 years ago
Sebastian Kaspari 02aabea14a Update to new feature-media API. 4 years ago
Jonathan Almeida ffd4cdd970 For #7661: Add variant-specific schemas for deep links
In order to target specific variants of Fenix, we're adding schemas that
are specific that app in order to avoid collisions with the other
variants and with other forks of fenix that may have the same schemas.

The current schema for variants:
 - Fenix Nightly: `fenix-nightly://`
 - Fenix Beta: `fenix-beta://`
 - Everything else: `fenix://`
4 years ago
Roger Yang 0630e2482f
Closes #8544: Activity should be reused when opening intents from other apps (#8547) 4 years ago
Sebastian Kaspari 5515f1ba5e Closes #4979 - Support Fennec web apps (PWAs). 4 years ago
Jonathan Almeida cbcc56bbba For #373: Implement LeanPlum push messaging
Also closes #6250, since we rely solely on the SDK itself to consume the
messages straight from FCM.
4 years ago
Sebastian Kaspari 10bf49918f Issue #7818: Use different target activities for launcher activity alias (fenix vs. fennec). (#7917)
* With this patch fenix build variants will launch HomeActivity directly from the launcher.
  This will get rid of the performance regression outlined in #7818.

* Fennec build variants will launch into MigrationDecisionActivity which will show the
  migration UI or launch normally into the app. This is faster than going through
  IntentReceiverActivity (measured and perceived).
4 years ago
Michael Comella fe105729ad No issue: don't export OssLicense*Activity. (#7909)
afaik, these Activities are only intended to be shown internally and
have no reason to be accessible to other apps on the system.
4 years ago
Sebastian Kaspari eeb5b7b3a1 Android manifest: Export shortcut target activity. 4 years ago
Grisha Kruglov 9c25d274d0 Enable firebase auto-init, force push renewal after migration 4 years ago
Jonathan Almeida 261a6162af Review comments, fix build failure and targetActivity 4 years ago
salvatorep ceb155ec5c Added support for Intent.ACTION_SEARCH and Intent.ACTION_WEB_SEARCH actions 4 years ago
Mugurell 8454f208af For #4977: Migrate fennec shortcuts (#7251)
* For #4977 - Support opening Fennec pinned website shortcuts in Fenix

Fennec's pinned website shortcuts are set to open the BrowserApp activity.
So we need a new activity alias to actually catch such Intents. Otherwise they
would open "org.mozilla.firefox/.App" without any way to inform that this is
the result of the user clicking on a pinned shortcut.
For actually checking if the newly received Intent is of a Fennec pinned
shortcut we introduce a new FennecBookmarkShortcutsIntentProcessor which will
prepare the Intent to open the shortcut's URL in a new tab.

* For #4977 - Don't keep IntentReceiverActivity on the back stack

For successive Fennec pinned shortcuts to create a new IntentReceiverActivity
and be processed as normal we need to not keep this as our task root.

* For #4977 - Test the FennecBookmarkShortcutsIntentProcessor
4 years ago
Mihai Branescu ea2411a88b Feature/#220 language menu (#7070)
* For #220
- Added advanced header + locale settings item in the settings fragment

* For #220
- Added locale selection page with lib state + handling of locale changes

* For #220
- Removed registering for locale changes in the manifest, allow system
to restart activity in that scenario

* For #220
- Added unit tests for locale settings page

* For #220: fixed an outdated unit test
ga-a

Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
4 years ago
Sebastian Kaspari e789d8ebe3 Issue #4978: Reuse widget package name of Fennec. 4 years ago
Sebastian Kaspari 16b4680c06 Closes #4976: Use dynamic launcher entry in manifest. 4 years ago
Sebastian Kaspari aa49ab1dfb Closes #4976: Reuse Fennec launcher entry in manifest.
With this patch Fennec users, who upgrade to Fenix, will not lose Firefox launcher icons they
have added to their home screen.

A side effect of this change is that the launcher entry for existing Fenix users may disappear
from the home screen for existing Firefox Preview users and they will have to re-add it.
Since the Preview audience is more accepting of breaking changes and since that group is
way smaller than the millions of Fennec users, I think that this is an acceptable breaking
change. I looked into supporting multiple launcher entries in parallel, but that got quite
complex with multiple build types and multiple manifest files. Especially if we decide
to keep a Firefox Preview build around (e.g. org.mozilla.fenix) then it would be good to
unify on a single launcher and do that as early as possible.
5 years ago
Jeff Boek 5f7b3bd4d7
For #5972 - Fixes bugs when launching in private mode on Android 5 (#6702) 5 years ago