Commit Graph

2725 Commits (c9f8986d2b9d0452fd654ba9abbf1979fdee3403)

Author SHA1 Message Date
ekager a9692d9bce For #10204 - Address viewLifecycleOwner IllegalStateException crashes 5 years ago
Mihai Branescu a16bfb27ef For #6557 - added unit tests 5 years ago
Mihai Branescu 0c2d22f595 For #6557 - add in_content telemetry class 5 years ago
Mihai Branescu 28496fecc0 For #6557 - split base extension functionality from ads 5 years ago
Mihai Branescu f09bc4566c For #6557 - added metric for in_content 5 years ago
mcarare e830da59b7 For #10180: Remove touch delegate when button is disabled.
Also refactored multiple if's into a when.
5 years ago
mcarare 3e13927c25 For #10180: Add extension to remove touch delegate from parent. 5 years ago
Mihai Branescu c4d76dce5a For #6558 - cleanup + added unit tests 5 years ago
Mihai Branescu f03d65b13d For #6558 - added logic for ad_clicked metric 5 years ago
Mihai Branescu 93ca1f6d9f For #6558 - added handling of web extension + sending metric for has_ads 5 years ago
Simon Chae f1559ed2da
For #10162: Set switch back to prev state when failed to enable/disable addon (#10164) 5 years ago
mcarare 2edd4b39a4 For #9913, For #9914: Remove button when disabling it.
Setting visibility to GONE allows clicks to parent view in that space.
5 years ago
Arturo Mejia 956bf01cd5 For issue #9493: Reload after cleaning individual site permissions exceptions 5 years ago
David Walsh 6f5f48c30e
For #10148 - Add basic tab tray implementation without exposing to rest of app (#9934) 5 years ago
Vlad Filippov e51e1c878b Add 'useEmail' and 'useEmailProblem' metrics event
Fixes #9834
5 years ago
Simon Chae b3248ec769 For #6123: Expose WebExtensions in private browsing control 5 years ago
mcarare cc67de29bf For #10091 Also disable play/pause button when hiding it. 5 years ago
mcarare 9dd8314d14 For #10091 Add extension to remove and disable button 5 years ago
mcarare 932fd44823 For #7387: Change ETP onboarding from popup to a dialog.
Recalculated dialog position and offsets.
Changed ETP onboarding dialog to show only once.
5 years ago
mcarare 72fe52fcb8 For #9987: Set FLAG_SECURE to dialog when flag set in activity. 5 years ago
ValentinTimisica da3fca0f29 Fixes #10109: Adds content description for browse privately card content 5 years ago
mcarare e11f1b62dc For #10027: Make toolbar context menu popup dismissible on SDK<23 5 years ago
ekager c4e83367f6 For #6832 - Fix various fragment not attached to a context crashes 5 years ago
ekager 6457a02a82 For #2818 - Enable PiP for all builds 5 years ago
Roger Yang 0227e953ae Close #9760: Add external app links context menu candidate 5 years ago
Sawyer Blatz dce16964c0
For #9208: Adds in-product prompt to homescreen (#9836) 5 years ago
Arturo Mejia 0a23d66756 For issue #7566 Handle deny & don't ask again for site permissions 5 years ago
Arturo Mejia 995da59fa8 For issue #9493: Reload after cleaning all site permissions exceptions 5 years ago
ekager 70755adf6e For #10036 - Workaround for System Theme changes with config change 5 years ago
Michael 1f8b7ff962 Closes #8541: Hide find bar when entering fullscreen 5 years ago
Jeff Boek 164e6cd079 For #9816 - Adds SessionObserver to session on selection 5 years ago
Jonathan Almeida 6ad046714d Close #9338: Enable WebPush engine integration in all builds 5 years ago
ekager f3847d0d7c For #8735 - Adjust fontInflation engine setting when toggling useAutoSize 5 years ago
ekager 66d9a24b28 Closes #9928 - Updates private browsing text description 5 years ago
ekager 5d51c4f059 Don't use ProcessLifecycleOwner for view-tied consume 5 years ago
ekager f801f32027 No issue: Fix leaks in BookmarkFragment 5 years ago
ekager 5014cd78ec No issue: Fix leaking sessionControlInteractor 5 years ago
Grisha Kruglov 853a0acab4 Closes #4046: Always display 'Desktop' bookmarks folder
See https://github.com/mozilla-mobile/fenix/issues/4046 for a detailed discussion of this.

In short, this patch removes code that would conditionally hide desktop bookmarks depending
on the signed-in state of the browser.
5 years ago
Jonathan Almeida c16283a923 For #9932: Fix navigation icon theme missing from migration UI
Setting the `navigationBarColor` is done in the ThemeManager for the
attached activity. Since the migration UI is separate from that, we did
not get this for free.
5 years ago
Sawyer Blatz a8e624959e
For #6940: Fixes top dynamic toolbar behavior (#9900) 5 years ago
Roger Yang 40550e88de
Close #9960: Launch URI in Fenix if failed to launch in custom tab (#9964) 5 years ago
Christian Sadilek ec1d4e8fca For #8399: Hide keyboard to prevent content resizes
This hides the keyboard after committing a URL in the
Toolbar right before we navigate from the SearchFragment
to the BrowserFragment. If the BrowserFragment is being
displayed before the keyboard is gone an expensive
resize of the engine view (content) is triggered when the
keyboard finally goes away. This is to prevent that.
5 years ago
Michael Comella f3ed207bdb For #8803 - review: Add clarifying comments to onAppInit capture methods. 5 years ago
Michael Comella f49fc6dad2 For #8803: hook up frameworkStart metric. 5 years ago
Michael Comella dbf733d70a For #8803: add StartupFrameworkStartMeasurement.
This class controls the central logic around the metrics we want to
record.
5 years ago
Michael Comella 7f618a6a7c For #8803: add Stat and test.
We need to access the data in stat to get the process start time, so we
can calculate the time from process start until application.init for the
frameworkStart probe.
5 years ago
Emily Kager 39107b4036
For #9703 - Exit fullscreen in onPause and onSessionSelected (#10016)
* For #9703 - Call fullScreenChanged in onPause

* For #10015 - Exit full screen if new session selected
5 years ago
ekager 6f77ec5951 Use HomeFragment viewLifecycleOwner for BrowserSessionsObserver 5 years ago
Grisha Kruglov 0ec6d266e8 Use HomeFragment's viewLifecycleOwner as the lifecycle for accountManager observer registry
If we just use the HomeFragment itself, we end up with a memory leak since the lifecycle events
that would clean up the registry (e.g. destroy) won't run (if the fragment is retained in the backstack, for example).
5 years ago
Mihai Adrian 72fe9fad0c
For #9987: Set FLAG_SECURE to dialog when flag set in activity. (#9998)
* For #9987: Add extension to secures dialog if parent activity is secured

* For #9987: Set FLAG_SECURE to dialog when flag set in activity
5 years ago
Mihai Eduard Badea 725ba1e856 For #9951 - Removed the extra empty spaces that were causing the spacing issue 5 years ago
mcarare 83d2208c6b For #9536: Open report issue tab depending on current browsing mode.
Checking if session is private uses the new browser state API.
5 years ago
Sawyer Blatz 1f8f69548a For #7158: Fixes browser to search animation fade 5 years ago
Jonathan Almeida 25d5b0d31c For #8422: Add spacing between migration items 5 years ago
ekager 4a06a228f3 For #9981 - Make Bookmark Menu UI respond to session selection 5 years ago
mcarare 25e12e2f77 For #9984: Update addon before settings visibility check 5 years ago
Sawyer Blatz 8185ba793e
For #9857: Create button style (#9858)
* For #9857: Creates text button style

* Adds lint check

* Fixes onboarding cards
5 years ago
Jonathan Almeida 997f6c72d6 For #9409: Add app icon to Leanplum push notifications 5 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.
5 years ago
Mihai Branescu bded28a017
For #9420 - relaxed custom engine rules (#9967)
Allow websites that return 404 to be added
Change long query param with one with higher changes of being found
5 years ago
ekager aef827e607 For #9887 - Respect screenshot setting when resetting window flags in logins 5 years ago
Arturo Mejia 37a277febb For issue #9930 Do not assume all add-ons have a settings page 5 years ago
Arturo Mejia 8872baef39 Update Android Components version 5 years ago
Arturo Mejia 7c279b6e1f No issue: Fix add-on translate() breaking change 5 years ago
ekager 5b1cdbd8bf For #3194 - Pause media while undo snackbar appears 5 years ago
ekager 9c56a8b387 For #204 - Remove PWA Feature Flag 5 years ago
Jeff Boek 4cbb9aebaf
Cleans up nav_graph.xml (#9829)
* For #9751 - Cleans up homeFragment directions

* For #9751 - Uses global actions for fragments not owned by homeFragment

* For #9751 - Cleans up SearchFragment directions

* For #9751 - Removes settings action from DeleteBrowsingDataFragment

* For #9751 - Removes browser action from SettingsFragment

* For #9751 - Adds ManagePhoneFeature global action

* For #9751 - Clean up unused deletebrowsingfragment actions

* For #9751 - Cleans Up HistoryFragment actions

* For #9751 - Removes Home -> Search action

* For #9751 - Removes the Bookmark -> Browser action

* For #9751 - Cleans up bookmark fragment actions

* For #9751 - Cleans up actions from ShareController

* For #9751 - Removes defaultBrowserFragment to browserFragment action

* For #9751 - Removes about -> browser action

* For #9751 - Adds global action to TrackingProtectionFragment

* For #9751 - Removes exception -> browser action

* For #9751 - Removes login -> browser action

* For #9751 - Fixes LoginFragment directions

* For #9751 - Removes ExternalAppBrowser directions

* for #9751 - Cleans up actions

* For #9751 - Fixes unit tests

* For #9751 - Addresses nits in PR
5 years ago
Arturo Mejia eace991859 For issue #8520: Improve add-ons UI 5 years ago
ekager b8fba63be4 For #9890 - Do not display full screen snackbar with toolbar padding 5 years ago
ekager ac3a557ddf For #9703 - Exit full screen on pause if pip not entered 5 years ago
Sawyer Blatz 7c3394ea7c
For #9892: Set dynamicToolbarMaxHeigtht to 0 for PWAs (#9893) 5 years ago
ekager 8c238402e2 For #9692 - Fix "Install" PWA menu item labeling 5 years ago
ekager 5039546dc5 For #7208 For #7212 - Update parameterized strings 5 years ago
mcarare a214f04b4a For #9698: Use extension to ensure fallback to English and avoid crash 5 years ago
mcarare 4a1a875233 For #9698: Add Context extension to avoid format IllegalArgumentException 5 years ago
mcarare 177baf58a8 For #9798: Disable buttons on hiding and enable on showing.
This is triggered on collection expanding or shrinking that is animated.
The animation has android:fillEnabled="true" android:fillAfter="true".
This interferes with set visibility to gone and the click still triggers.
Disabling button avoids changing animation or force clearing it.
5 years ago
Simon Chae de311aef85
Update not yet unavailable add-on string (#9677) 5 years ago
Roger Yang c9141c9ae5 Close #9827: Support display cutouts 5 years ago
Christian Sadilek 7f1ef17d8b No issue: Re-use existing usecases for addons 5 years ago
ekager 56eb2ec1d7 For #2818 - Adds Picture-in-Picture feature 5 years ago
Michael Comella 4437ddd536 No issue: Move Do and OpenClass to utils pkg.
They were both in their packages by themselves, which feels unnecessary.
Unfortunately, a utils pkg is discouraged by kotlin but we don't have a
better place for them right now. Maybe an annotations/ pkg for the
latter?
5 years ago
mcarare 413af92bc5 For #9797: Set min height of dialog edit text to 48dp. 5 years ago
Abhay Agarwal 1c65bb8255 Closes #9495: Dismiss the ShareFragment in onPause() 5 years ago
Christian Sadilek 0f1bff7402 No issue: Refactor readerview to use browser-state 5 years ago
Sawyer Blatz e94af334fc
No issue: Add more settings animations (#9750) 5 years ago
Mihai Eduard Badea d66da53c9a For #2768 - Prevent screenshots in private mode
Added a new option in Private browsing menu to allow or prevent screenshots from being taken while in private mode by adding or removing the FLAG_SECURE flag from the home activity's window.

 This method is called whenever the activity is initialized to account for the browsing mode being changed and whenever the setting from the Private browsing menu is changed.

 The setting is by default set to true (screenshots are allowed to be taken)
5 years ago
Mugurell 29539c458e For #9770 - Disable pull to refresh pending changes 5 years ago
Jeff Boek c632b93ee7
For #220 - Removes feature flag for language picker (#9191)
* For #220 - Removes feature flag for language picker

* For #220 - Updates Android Components
5 years ago
Mihai Adrian dfded8e69c
For #9687: Refactor onboarding cards to follow app architecture (#9743)
* For #9687: Refactor onboarding cards to follow app architecture

* For #9687: Update unit test to new controller parameters
5 years ago
Arturo Mejia 025656d8fd For issue #9647 Crash when tapping settings after quickly
enabling/disabling add-on
5 years ago
Michael Droettboom 3789f50423 Fix errors in top_sites_count metric
We discovered in the Fenix metrics errors query [1] that
top_sites_count had a spike in the number of errors. It
seems to be recording a count of 0, which is an invalid value.

[1] https://sql.telemetry.mozilla.org/queries/67107/source#169983
5 years ago
Mugurell 904bfc9ebe For #3262 - Enable pull down to refresh in Nightly 5 years ago
MickeyMoz f46cfc2ad2 Update Android Components version to 38.0.20200403130109. 5 years ago
Michael Comella 4a8dc5b54f No issue: add kdoc to HomeActivity.
We could consider renaming the Activity to make it clearer that it's the
main activity and doesn't just feature the homescreen but I'm concerned
that renaming it will break too many things (e.g. automation that starts
a specific activity). For quick fix, I added this comment.
5 years ago
Sawyer Blatz e3ed7ed268
Issue #9128 & #9222 & #9499: Refactors snackbar creation and fixes placement (#9628) 5 years ago
Gabriel Luong dc6d479da3
For #6174 - Add telemetry for WebExtensions (#8318) 5 years ago
Emily Kager 327009efc4
For #768: Add first time PWA dialog (#9308)
Co-authored-by: Tiger Oakes <toakes@mozilla.com>
5 years ago
David Walsh 26137f63a2
Prevent favicons from flashing when items are selected in History (#9233) 5 years ago
Mihai Adrian 8cd6d7460c
For #9336 Check current destination before navigating (#9353)
* For #9336 Check current destination before navigating

* For #9336 Update unit test to check for navigateSafe
5 years ago
ekager fd60270da8 For #9533 - Switch to using enum for Library Item Selected Telemetry 5 years ago
Grisha Kruglov 8d3d030feb Closes #9553: Only update account UI state once when creating SettingsFragment 5 years ago
ekager 96c6401457 For #8125 - Send top sites count with metrics ping 5 years ago
mcarare 8c398c86ef For #9365: Partially reverse menu items order when using top toolbar 5 years ago
mcarare b119700820 For #9365: Update naming to reflect history item 5 years ago
Sawyer Blatz 208a58bc58
Issue #9598 & #8697: Fixes force expand crash (#9599) 5 years ago
codrut.topliceanu 3d1d146c94 For #9549 - Scrolling to top sites now includes header. 5 years ago
Mihai Branescu 24596fd3cd For #9109 - remove the sync error highlight from three-dot menu 5 years ago
Grisha Kruglov 54b7fd8834 Make sure reconnect item is displayed in HomeMenu in case of account problems
AccountObserver listeners were being triggered correctly, however, during every time
we open HomeFragment, home menu gets re-created, which causes us to re-run the initialization
block. Before this patch, the init block would never touch the account manager.
After this patch, it will query it if account manager has already been initialized.
5 years ago
Grisha Kruglov 60943df6d9 Closes #9561: Fix initialization order in HomeMenu
`init` blocks are executed before `val` initialization which is declared afterwards
in the class. In this case, we had `quitItem` and `reconnectToSyncItem` as lazy,
but declared after the `init` block which may need them. And so, while this compiles
just fine, in practice we run into an NPE as the `init` block tries to get the lazy's value.

Simply re-ordering initialization fixes the problem.
5 years ago
Arturo Mejia 804eb0f5ba For issue #8520: Polish Add-on manager UIs 5 years ago
Sawyer Blatz 1a2b65d854
Issue #9472: ForceExpand browser toolbar when navigating (#9552) 5 years ago
ValentinTimisica cee34893ed
For #8412: Passes error handling function to 'CustomTabWindowFeature' (#8903)
* For #8412: Passes error handling function to 'CustomTabWindowFeature'

Change required for showing error message when the app can't handle a specific
scheme. Implemented in AC:
https://github.com/mozilla-mobile/android-components/pull/6122

* Upgrade AC version

Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
5 years ago
Grisha Kruglov f76acc5db1 Closes #9530: Don't crash on failed avatar fetches 5 years ago
Grisha Kruglov 6c38b77315 Part 6: Kick-off account manager initialization after visual completeness
In order to hide the time it takes for the account manager to be initialized
(which always involves disk IO, and often network IO), let's kick it off
after "visual completeness".
This makes sure that for most users, by the time they interact with the account
manager-related functionality (e.g. in Settings), it's ready to go.

Also, for signed-in users, this will establish background sync workers.
5 years ago
Grisha Kruglov 057e28d4e4 Part 5: Refactor HomeMenu<->HomeFragment interaction
This refactor "reverses" relationship between these two classes, allowing
HomeMenu to inform its parent, HomeFragment, of any changes to the menu.

Once that's in place, we start observing account manager changes (once its ready)
for account problems.

This solves two problems:
- initialization of the account manager is no longer necessary to build a home menu
- home menu now starts observing changes to the account manager's state (before it was static)
5 years ago
Grisha Kruglov 029fae4559 Part 4: Make sure 'sync is on' snackbar does not initialize account manager 5 years ago
Grisha Kruglov eb98df4edd Part 3: Mark accountManager as 'lazy' in Mode.kt
This is enough to cause it to be initialized only if we're going through onboarding.
5 years ago
Grisha Kruglov 3efaa516ca Part 2: Do not eagerly initilize account manager within HomeActivity
Instead of always kicking off accountManager's init and telling it to sync right away in
'onResume', we move these tasks to some abstract point later on, whenever account manager
is available.
5 years ago
Grisha Kruglov 0677fc35de Part 1: Add 'accountManagerReady' queue to BackgroundServices
This gives us an ability to perform tasks against 'accountManager' without
causing its immediate initialization.
5 years ago
Grisha Kruglov be1fa8df7d Pre: introduce a RunWhenReadyQueue
This replaces the StartupTaskManager we had with a more general class.
New implementation is a thread-safe "gated task executor", which either
runs the task right away if it's marked as 'ready', or queries it to be
executed later on.

This ability to either execute or queue a task will be useful later on in the
commit series.
5 years ago
Sawyer Blatz 4ac29530cd
Issue #9132: Update to search animation for top toolbar (#9524)
* let animation in top toolbar mode play nicely.

* remove duplicate methods, make code readable.

* migrate getToolbarNavOptions method to BrowserAnimator, one method to rule them all.

* Update linting

Co-authored-by: ahmedmamdouh13 <ahmedmamdouh13196@gmail.com>
5 years ago
David Walsh e1187ebf31 For #7059 - Allow search engines to scroll 5 years ago
David Walsh d989616f62 Add top sites heading to home screen 5 years ago
mcarare f52fa44207 For #9498: Replace navargs with viewModel to remember if scroll to tab 5 years ago
mcarare ab78951146 For #9496: Vertically align collection name and icons to collection icon 5 years ago
codrut.topliceanu 1e63d6ce76 For #9500 - Revert patch for 8568
The patch for 8568 introduced this regression.
Let's just revert it until we can come up with a better solution.
5 years ago
Sebastian Kaspari 02aabea14a Update to new feature-media API. 5 years ago
Edouard Oger 394f386ac3 Add secret debug menu to override FxA servers 5 years ago
mcarare 18533d3434 For #8764: Use list component for items in collections 5 years ago
mcarare 62bbbd9e37 For #8764: Update collection design, including list elements 5 years ago
mcarare 38a97cd1e0 For #9252: Add progress bar to saved logins view 5 years ago
mcarare f3bbcc4e17 For #9252: Update views visibility ony when list has finished loading 5 years ago
Arturo Mejia f9cc2ccfe2 For issue #8017 enable SitePermissionsWifiIntegration 5 years ago
codrut.topliceanu ba39a46b88 For #8568 - Refocus URL editText in SearchFragment onResume 5 years ago
Amaan Marfatia 3dcfed3761 AboutPageAdapter doesn't use notifyDataSetChanged()
We make the AboutPageAdapter inherit from a ListAdapter so that we don't use notifyDataSetChanged().
5 years ago
mcarare 012e318724 For #8968: Hide keyboard when navigating away from browser 5 years ago
ValentinTimisica 3647606aae Fixes #9280: Remove tabs fade in animation when pressing on Add new collection 5 years ago
Mugurell a1cdd31f0c Fix #8651 - Add new menu actions for a history item
We'll now also support:
- Copy url
- Share to another FXA device
- Open in new tab
- Open in private tab
5 years ago
mcarare e8ad2389ac For #7356: Scroll to selected tab when pressing tab overview 5 years ago
Mihai Eduard Badea 91690d7b48 Replaced name field with search string field 5 years ago
ValentinTimisica 69e8a2f357 Fixes #4987: Remove close tabs functionality when they are added to a collection 5 years ago
ValentinTimisica a72d50d78f Fixes #7734: Remove animation for back button 5 years ago
Christian Sadilek 5e9d5dd545 Closes #9414: Make AMO collection configurable 5 years ago
Grisha Kruglov 9e324fa02a Perform storage warm-up after visual completeness 5 years ago
Sebastian Kaspari 0f0d56e60a Issue #5208: Use new tab/collection restore API. 5 years ago
Mihai Branescu 73a7330b2b For #9395 - Trimmed name for custom search engines 5 years ago
Arturo Mejia f785a07ef9 No issue: Add add-on updater information dialog 5 years ago
Mihai Branescu a23bcebb5d For #8972 Replaced purple colors to match the rest of the app 5 years ago
Mihai Branescu 494db56ea5 For #9207 - changed status bar color in home fragment to match gradient background 5 years ago
Arturo Mejia fa9dae0d72 For issue #9364 Crash when blocking app permissions and returning to
the app
5 years ago
ekager eea6eb0c4c Add toolbar padding for bookmark snackbar 5 years ago
ekager 16b40992d2 For #9351 - Show snackbars with toolbar padding to work with dynamic toolbar 5 years ago
Arturo Mejia 5e75140b3d For issue #8809 Notification permissions can't be disabled/re-enabled
unless you restart the browser
5 years ago
Arturo Mejia b484ad38cc No issue: Remove feature flag for removing one TP exception 5 years ago
mcarare 7fbb1640b6 For #8759 Use activityName instead of packageName as app identification 5 years ago
Arturo Mejia 301f56d144 For issue #9334 Fix Remove of one exception is deleting all 5 years ago
Sawyer Blatz 9feb44852b
For #9256: Attempts to fix installation ping not being sent (#9331) 5 years ago
Kate Glazko 47b2f6a070 For 7077 Simplify Display Url 5 years ago
Mihai Branescu ab04155222 For #8653 - changed menu strings 5 years ago
mcarare 14338a3b13 For #8899: Set viable anchor for snackbars in both custom and normal tab 5 years ago
ValentinTimisica 8871c05c9d Fixes #9243: Remove tabs fade in animation when pressing on Save to Collection 5 years ago
David Walsh 681d6cf8a1 For #8652 - Allow sharing multiple bookmarks 5 years ago
David Walsh 27502bdd34 For #9177, #8248 - Hide empty verified by block when no cert 5 years ago
Severin Rudie 35a132d7ff
8017 advanced autoplay controls. (#8978)
* For #8017: add advanced autoplay controls
5 years ago
Elise Richards 5d8a9bb4be
For #8592: Relocate device name in account preferences. Deactivate device name field while syncing. (#9255) 5 years ago
Sawyer Blatz a356b4b2c4
For #9136: Send all adjust properties to glean (#9253) 5 years ago
Sawyer Blatz b9059c8208
For #9256: Attempts to fix installation ping not being sent (#9254) 5 years ago
Grisha Kruglov e541e10427 Initialize storage after visual completeness
In order to eat the perceived performance costs, we initialize storage
once we're visually complete. This way, we're reducing chances of user performing
a UI action which will trigger storage init and delay said action.
5 years ago
Grisha Kruglov eb14532c3c Closes #7450: Lazy storage initialization
Make sure that we actually lazily initialize our storage layers.

With this patch applied, storage layers (history, logins, bookmarks) will be initialized when first
accessed. We will no longer block GeckoEngine init, for example, on waiting for the logins storage
to initialize (which needs to access the costly securePrefStorage).
Similarly, BackgroundServices init will no longer require initialized instances of the storage
components - references to their "lazy wrappers" will suffice.

In practice, this change changes when our storage layers are initialized in the following ways.
Currently, we will initialize everything on startup. This includes loading our megazord, as well.

With this change, init path depends on if the user is signed-into FxA or not.

If user is not an FxA user:
- on startup, none of the storage layers are initialized
- history storage will be initialized once, whenever:
  - first non-customTab page is loaded (access to the HistoryDelegate)
  - first interaction with the awesomebar
  - history UI is accessed
- bookmarks storage will be initialized once, whenever:
  - something is bookmarked, or we need to figure out if something's bookmarked
  - bookmarks UI is accessed
- logins storage will be initialized once, whenever:
  - first page is loaded with a login/password fields that can be autofilled
  - (or some other interaction by GV with the autofill/loginStorage delegates)
  - logins UI is accessed
- all of these storages will be initialized if the user logs into FxA and starts syncing data
  - except, if a storage is not chosen to be synced, it will not be initialized

If user is an FxA user:
- on startup, none of the storage layers are initialized
- sometime shortly after startup is complete, when a sync worker runs in the background, all storage
layers that are enabled to sync will be initialized.

This change also means that we delay loading the megazord until first access (as described above).
5 years ago
mcarare 756b1fbadd For #9140: Remove drawable from title in empty state panes 5 years ago
Arturo Mejia 823eea44ed No issue: Add serverConfig param to FxaWebChannelFeature 5 years ago
Arturo Mejia e977486809 Remove @UseExperimental for usages of the flow api 5 years ago
mcarare 4425e7139e For #9200: Remove star icon from empty state icon in toolbar 5 years ago
mcarare 772c7062fd For #8814: Change icon asset for top sites menu option 5 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://`
5 years ago
Sawyer Blatz b4e1360f59
For #3086: Adds settings animations (#9187) 5 years ago
Christian Sadilek 0d974fe262 For #8808 #9139: Add-on should be able to configure how to open options page 5 years ago
Edouard Oger a1ea94fe76 Prepare for a-c a-s upgrade 5 years ago
Sebastian Kaspari 34144fd254 Use pinned Android Components Nightly version instead of snapshots. 5 years ago
Christian Sadilek 63517a52e4 No issue: Remove unneeded logic to adjust TP 5 years ago
Jonathan Almeida 3d387e2dde Add nightly-only feature flag for WebPush integration 5 years ago
codrut.topliceanu 030bd38631 For #8561 - Scroll to topSites on app cold start 5 years ago
Sawyer Blatz cc8f34b68b
For #8773: Fixes issue with snackbar placement on ContextMenu (#8942) 5 years ago
Roger Yang 9a582a6983
Closes #9104: Pass release channel information to Socorro service (#9130) 5 years ago
Jeff Boek c862ca93ba No issue - Fixes shadow on top layout 5 years ago
Jeff Boek 74ce62b5c3 For #8949 - Removes old motionlayout code, fixes how shadow is drawn 5 years ago
David Walsh fc67747409 Show the collections header when there are no collections 5 years ago
ekager 31cc7d9166 For #8897 - Don't remove all external sessions on back press 5 years ago
Michael Comella 5bd0369aed No issue: remove unused HotStartPerformanceMonitor.
This monitor for hot start was intended to be used by FNPRMS to measure
hot start. However, hot start was deprioritized so it's now essentially
unused.
5 years ago
Mihai Branescu 485efacd33 For #8800 - dismiss all highlights when menu is closed 5 years ago
Severin Rudie 1381444a52 For #8800: clear menu highlights on use 5 years ago
mcarare 2ffbecaefa For #8474 Reorganize browser menu items 5 years ago
Arturo Mejia ce4293c8c8 For issue #8908 Notify users when previously unsupported add-ons
become available
5 years ago
ekager 709bf6f627 For #7087 - Add SearchView to Logins Fragment 5 years ago
ekager feb6215fae For #8296 - Adds user account avatar to Account Preference 5 years ago
Jonathan Almeida ef42becbf9 For #9059: Add WebPush engine integration 5 years ago
ekager 667ebe3142 For #8967 - Remove ability to pref login autofilling by itself 5 years ago
mcarare 320fc4e4ae For #8788 Use Flexbox instead of Grid manager for top sites 5 years ago
Emily Kager 93cb3c2053
For #8423 - Adds delete login confirmation dialog (#9014) 5 years ago
mcarare 16e2f20471 For #8975: Separate title from url with line break when sharing links 5 years ago
Sawyer Blatz 28f58eb025
For #7158: Improves home to search animation (#9008) 5 years ago
Christian Sadilek 84afb5d156 Issue #8291: Speculatively create content process in search fragment 5 years ago
Sawyer Blatz 3548e58c00
For #7158: Improves browser to search animation (#8961) 5 years ago
Sebastian 89a260ecd9 Use new MemoryConsumer.onTrimMemory() API. 5 years ago
Jim Porter ec98fd948b For #7847: Improve startup performance of the Fenix wrapper around Glean 5 years ago
Sebastian 7b170c4428 Update IntentProcessor implementation to comply with new interface. 5 years ago
Josh Vocal c15469595d For #7554: Add App Services Version to About Page 5 years ago
Gabriel Luong c1a7bddcd3
For #8593 - Style the add-ons permission dialog to match the Fenix theme 5 years ago
Jonathan Almeida 0d48b65a25 For #8950: Unregister observers in the main scope coroutine 5 years ago
mcarare f9e85e78af For #6607 Update button theming in no tab pane 5 years ago
mcarare cfe4f11864 For #6607 Update button theming in no tab pane 5 years ago
Sawyer Blatz edd1f013ba For #5308: Show search shortcuts for search term queries 5 years ago
Jonathan Almeida 4ccda4d495 Log push crashes to CrashReporter 5 years ago
Jonathan Almeida 4bbf87d272 Closes #6730: Lazily initialize account manager on new push message 5 years ago
Grisha Kruglov e6e2dd94c7 Closes #7344: Login storage refactor
The a-c side of this work is in https://github.com/mozilla-mobile/android-components/pull/6128

This switches Fenix to use `SyncableLoginsStorage`, which caches a connection internally
on first access, and doesn't expose any lock/unlock APIs at the public boundary.
5 years ago
Sebastian Kaspari a890bd4c0c AwesomeBarView: Pass BrowserStore to SessionSuggestionProvider instead of SessionManager. 5 years ago
Christian Sadilek 20387401b1 Issue #7863: Ensure parent process triggers speculative connect 5 years ago
Sawyer Blatz f20fb50481 For #5346 & For #8859: Fixes textSize & animation on TabCounter 5 years ago
Sawyer Blatz e38bff8597 For #5308: Display search shortcuts when going from browser to search 5 years ago
Andrew Gaul 4ab4733f34 Do not scroll menu when toolbar is on top
Fixes #8838.
5 years ago
Harshal Lele e318cd7d15 fix #8135 - remove getColorFromAttr 5 years ago
Sawyer Blatz 8e06933e8d For #167: Adds browser -> home animation 5 years ago
Emily Kager a61502215b Revert "For #7603 - Temporarily do not show biometric prompt for OnePlus devices"
This reverts commit 17d7928cc9.
5 years ago
Michael Comella db57e123b9 For #8797: Do not allow nested scrolling on top sites. 5 years ago
mcarare 2bb2061931 For #8766: Show collections only when tabs are open or collection exists 5 years ago
Mihai Adrian e3d34edfc7
For #8873 - Update snackbar padding for adding top sites 5 years ago
Arturo Mejia 4cf34b47ee
Show a notification when add-on update requires new permissions 5 years ago
Sawyer Blatz e96732604b For #167: Improves home to browser animation 5 years ago
Michael Comella 9ed43b60b6 For #7781: instrument visual completeness for top sites.
Eyeballing my output in *Debug builds on my P2, this adds approximately 115ms
or slightly less from first frame drawn to visually complete time.
5 years ago
Michael Comella 4605ba9124 No issue: make Performance methods private that can be. 5 years ago
ekager a6b07afa95 No issue: Fix LeakCanary detected memory leaks
Co-authored-by: Emily Kager <emilykager@gmail.com>
Co-authored-by: Pierre-Yves Ricau <py@squareup.com>
5 years ago
Sebastian Kaspari 83f94cacb5 FennecWebAppIntentProcessor: Handle manifest file not existing. 5 years ago
Sebastian Kaspari a477f14042 IntentReceiverActivity: Simplify intent handling.
This patch removes the need to process() and then match() on every intent processor.
A successful process() means that we already matched. Doing this in two steps caused
issues when the process() failed but later the simple check in match() returned true.

After this patch lands I intent to remove the match() API from the IntentProcessor
interface in AC:
https://github.com/mozilla-mobile/android-components/issues/6097
5 years ago
mcarare 5a6fc02976 For #8773: Set proper anchor and padding for Snackbars on browser screen 5 years ago
mcarare df80a5240b For #6607 Add button to no tab content pane 5 years ago
David Walsh 5b7a800f98 Make 'Redirect to Sync' home menu item go directly to the 'Reconnect to Sync' / error screen 5 years ago
David Walsh 0187669790 Match account problem styling between HomeMenu and BrowserMenu 5 years ago
Sebastian Kaspari d89fbd7af8 FenixSearchEngineProvider: Use dummy location service in debug builds.
Workaround for issue described in:
https://github.com/mozilla-mobile/android-components/issues/5989

For debug builds it is unnecessary to use the actual location provider since those builds
do not have an API key configured. With that patch we replace the location provider with
a dummy implementation in debug builds.
5 years ago
Arturo Mejia 30f351910a
Make sure all installed extensions are registered for updates 5 years ago
Will Hawkins f9b716286a For #8034: Create a post-visual completeness executor
Create an object that will execute its enqued tasks
when Fenix is visually complete.
5 years ago
Simon Chae 0def456cac
For #8116: Attach add-on snackbar to activity rootView 5 years ago
David Walsh b525f2382a
For #7504 - Update sync error display in menus (#8639) 5 years ago
ekager 63ddff533d For #8641 - Update addon text selector to use attr colors 5 years ago
Simon Chae 4854566f94
For #8824: Reset isInstallationInProgress in correct lifecycle (#8825) 5 years ago
Arturo Mejia cfa6f0cc7a No issue: Submit exceptions while updating add-ons to the crashReporter 5 years ago
Simon Chae 41a84e85a3
For #8699: Add view.settings to setAllInteractiveViewsClickable (#8820) 5 years ago
Mihai Adrian 9612c3f16d
For #8540: Fix ETP options not being correctly applied (#8688) 5 years ago
David Walsh e2b72a9c01 For #8505 - Update tab icon 5 years ago
Simon Chae f99bad949e
For #8699: Add setAllInteractiveViewsClickable for add-on pending removal (#8776) 5 years ago
mcarare 314bee2abd For #8627: Add proper content description to ETP card clickable areas 5 years ago
Grisha Kruglov 7275dd5269 Public API changes related to 0.52.0 A-S bump 5 years ago
Severin Rudie c87c837865
For #8752: fix invalid AutoplayAction crash 5 years ago
Sawyer Blatz b8d5dc4551 For #7715: Display search suggestions when pressing allow 5 years ago
Grisha Kruglov fddf77280c Remove direct A-S dependency; switch to using 'full' megazord
As far as I can tell, we never actually exercise the a-s libraries in Fenix tests currently (this was one of the presumed reasons for having a direct dependency).
In a different branch I've started work on adding end-to-end tests, but currently that's blocked on trying to figure out to load native libraries in tests (somehow, fenix's setup is different than what we have in A-C, not yet clear to me in what way).

Another reason for a direct dependency (i think) is that we needed it to configure a `fenix` megazord. This could be solved via a `support-megazord-fenix` a-c component that provides the correct transient dependencies,
but we can also just switch to use the `full` megazord instead, which is essentially what fenix megazord is at this point. A-S team wants to remove the fenix megazord, so this will help. This is what this patch does.
5 years ago
ekager 7f34204188 For #5843 - Ensure tabs pending deletion are removed 5 years ago
Sawyer Blatz 13c9c39658 For #4383: Add feature flag 5 years ago
Sawyer Blatz 009a7f3020 For #4383: Enable dynamic bottom toolbar 5 years ago
ekager f569f48b33 For #5696 - Adds basic share action to text selection context menu 5 years ago
ekager ffc2785c1e No issue: Add back updateThemeForSession in onResume 5 years ago
MarcLeclair 41f9311e20
For #7448: Move LP to IO dispatcher (#8558) 5 years ago
Sawyer Blatz 82979afb48 For #8743: Fix baseBrowserFragment crash 5 years ago
ekager 511c36e191 Removes FragmentPreDrawManager changes in BrowserFragment 5 years ago
Sawyer Blatz dcc1e9fc65 No issue: Fixes swipeRefresh UI test crash 5 years ago
mcarare cc47bc4e1e For #8655: Show top site context menu below top site title 5 years ago
Arturo Mejia 959e438ff3
Initializes GlobalAddonDependencyProvider 5 years ago
Mihai Adrian beb323924b
For #8594: Show correct info in Etp settings info (#8687) 5 years ago
Sebastian Kaspari 388c7017d8 Closes #6003: MigrationProgressActivity: Always open browser. 5 years ago
Severin Rudie 69c6de7cd4
For #8411: integrate AC permissions changes (#8618) 5 years ago
Sparky93 0f609b1888 Fix for #8533 - Migration screen's buttons in the wrong place
Made a small refactor on the migration screen layout in order to correctly position the elements.
5 years ago
Simon Chae 0434e53911 For #8637: Remove setActivityTheme outside activity lifecycle scope 5 years ago
Mihai Adrian 4be693255d
For #8565: Fix updating dropdown preferences in ETP settings! (#8573)
* For #8565: Create custom SharedPreferenceUpdater for String Preferences

* For #8565: Use custom updater to correctly update DropDownPreference

* For #8565: Set default values for dropDown preferences

* For 8565: add tests for findEntriesValue

* For 8565: clarified findEntryValue

Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Sebastian Kaspari fdd3d29cd4 Implement new feature-tabs API. 5 years ago
Jeff Boek cbad832b19 For #8153 - Allow web-extensions to open tabs in correct browsing mode 5 years ago
Jeff Boek dfde37baf5 Reverts For #7559 - allows changing locale even after setting theme with 5 years ago
Jeff Boek 541bcf072a Reverts all BrowsingModeManager changes 5 years ago
ekager 0d398f7d44 For #8580 - Don't change theme in initialize UI 5 years ago
Roger Yang 60d38057bb
Closes #8654: Fix breakage from customTabId rename (#8656) 5 years ago
Jeff Boek 26d1bd70d8 Revert "For #8460: Prevent multiple back navigation clicks."
This reverts commit b030d3ac9f.
5 years ago
Sawyer Blatz d918cfdf38 For #1901: Screenshot engineView to remove GV flash
Co-authored-by: ekager <ekager@mozilla.com>
5 years ago
Roger Yang 0630e2482f
Closes #8544: Activity should be reused when opening intents from other apps (#8547) 5 years ago
Simon Chae da0148b8bd For #8535 #8498: Allow for multiple browsingModeListeners dispatch 5 years ago
Dennis Schubert be06450dd9 Bug 1613416 - Hide "Report site issue" button in Fenix Production. 5 years ago
mcarare b030d3ac9f For #8460: Prevent multiple back navigation clicks. 5 years ago
Arturo Mejia 8b7fd3a1df
For issue #8570: Disabling uBlock and quickly opening the Settings
section cause a crash
5 years ago
Sawyer Blatz f02e06afae
For #8454 - Removes back button from the search screen 5 years ago
Jeff Boek f050db517c For #8552 - Fixes bug where "installing/uninstalling" was using the old pref key 5 years ago
mcarare a5ac7304bb For #8523: Also disable radio buttons clickable area when ETP is off 5 years ago
mcarare 2d72027cbd For #8534: Register preference update on first tap 5 years ago
Mihai Branescu 9d972fa1d0 For #4231 added unit tests for most recent apps 5 years ago
Mihai Branescu fdbf63fb97 For #4231
Added kapt plugin + dependencies in order to be able to use Room
Added recent apps to share fragment (top 6)
Extracted dimens of share_to_apps.xml in the dimens file
5 years ago
Mihai Adrian 3486f30b6a
For #8529: Fix custom ETP preferences visibility update 5 years ago
Sebastian Kaspari d7e1259e7b
Use Mozilla Android Components 34.0.0-SNAPSHOT. (#8527) 5 years ago
Arturo Mejia 2daa485931
Show internal add-on version when available (#8507) 5 years ago
Jeff Boek 020608275d For #6981 - Fixes tests to support locale aware changes 5 years ago
Jeff Boek 1ba64f9559 For #6981 #6907 - Properly reloads search engines when locale changes 5 years ago
ekager 35bf4fbda9 No issue: Fix login for BaseBrowserFragment FragmentPreDrawManager 5 years ago
ekager 57a02a10fc For #8514 - Use state list colors for default disabled states 5 years ago
Jeff Boek 5c6e6ddfb7 For #4807 - Always navigate to settings after deleting data 5 years ago
ekager bb85de5dca For #6737 - Set Logins checkbox default to true 5 years ago
Mihai Adrian e8913474a0
For #8268 - Update added to top sites snackbar text (#8435) 5 years ago
ValentinTimisica 12ae46343e For #7957: Enable Login management preference for all users 5 years ago
ekager f52f87f6a4 For #8324 - Only use encrypted storage for Nightly/Debug populations 5 years ago
Jeff Boek a8746320d7 For #3869 - Uses RegionSearchLocalizationProvider in the search engine provider 5 years ago
mcarare 5fd3894171 For #8354 Fix uppdating theme when coming from external links 5 years ago
mcarare 9d755a877a For #8354 Fix opening custom tabs and links directly in private mode 5 years ago
mcarare ae13f4b44f For #8354 Remove unsetting open links in private if not default browser 5 years ago
mcarare bba563b5f9 For #6479: Add granular ETP settings 5 years ago
Emma Malysz 15ff4726a0 For #8056: remove Experiments.initialize from FenixApplication
Experiments will not be used before GA and are thus being removed
for performance wins.
5 years ago
ValentinTimisica ba8867c1a9 For #1741: Passes 'showDescription' boolean to SearchSuggestionProvider
Change required for removing description from search suggestion. Implemented
in AC (https://github.com/mozilla-mobile/android-components/pull/5890)
5 years ago
Severin Rudie cc29c5fe84
For #7896: integrate text selection search from AC (#8295) 5 years ago
Sebastian Kaspari ba54080177 Issue #8277: Reuse app icon in widget layout.
This patch refactors the widget layouts so that we can reuse the app icon and do not have to have
another logo resource with different constraints. This will also make it easier to update the
branding in #8277 and #8278.
5 years ago
ekager 324fe64213 No issue: Fix new optional adds on arg error 5 years ago
Jeff Boek 7aeb5f072d For #7295 - Adds more documentation for the installation metrics 5 years ago
codrut.topliceanu d6ae3d4abe For #7295 - Adds new custom ping: 'installation' 5 years ago
ekager b72550c28a For #8126 - Adds default top sites 5 years ago
ekager 2e1202cbd1 For #8348 - Add small delay after biometric auth 5 years ago
Sebastian Kaspari c45df6ecde Dismiss "migration notification" after leaving migration activity.
For https://github.com/mozilla-mobile/android-components/issues/5886.

With this patch we will dismiss the "migration completed" notification once the users
clicks on the button in the migration activity.
5 years ago
Sparky93 640d24974f Fix for #8426 - Migration steps displayed in a different order than UI specifications
Changed the order of the whitelisted migrations in order to respect the UI specifications.

Now using linked hash map instead of hash map for the whitelisted migrations so we can preserve the
order of the steps upon status changing in the migration process.
5 years ago
mcarare 3b5eadcc70 For #8372: Set toolbar position relative anchor for url copied snackbar 5 years ago
Severin Rudie 1be812eba0 For #8408: fix requireContext crash in HomeFragment#onViewCreated 5 years ago
Emily Kager 2264e6e1b1 For #6623 - Adds ability to delete a login 5 years ago
Mugurell ad1144c722 For #6577 - Remove the `total_uri_count` Glean StringMetricType
This was added as a duplicate to an already existing `total_uri_count`
CounterMetricType in #4456.
5 years ago
Christian Sadilek ce96d909d1 No issue: Support basic navigation in add-on popups 5 years ago
mcarare 372b1e7f0e For #6980: Update Private browsing card.
Added test to description.
Added link to settings.
Updated unit tests.
5 years ago
Jeff Boek 127169f5ff For mozilla-mobile#8172: Add a new 'E_Fennec_To_Fenix_Migrated' Leanplum event
This new event will be sent when the user has successfully migrated from Fennec
to Fenix.
This event will only be sent to Leanplum and not to the other telemetry
services like Glean or Adjust.

Co-authored-by: ValentinTimisica <valentin.timisica@softvision.ro>
5 years ago
ValentinTimisica 33616e0042 For #8172: Add a new "Fenix" Leanplum attribute 5 years ago
Emily Kager 9bac7ef47b For #8403: Don't postpone transition for view intents 5 years ago
Christian Sadilek 40031e6130 For #8143: Allow add-on popups to display prompts 5 years ago
Emily Kager 9adc617765 For #8358 - Make sure we don't cancel toolbar editing more than once 5 years ago
Emily Kager cbc8d3aa45 For #8366 - Move CreateShortcutFragment dismiss after AddToHomescreen 5 years ago
Simon Chae b5379eb513
Allow fragment to go back when all unsupported add-ons are removed (#8351) 5 years ago
Simon Chae 2c01022c4b For #8153: Allow web-ext to open new tabs in correct browsing mode 5 years ago
mcarare 5e4ef202b8 For #8262: Set toolbar position relative anchor for collection snackbars 5 years ago
Jeff Boek a701988ae9 For #5905 - Creates private browsing settings fragment 5 years ago
Jeff Boek ef6913ec25 For #5905 - Combine theme and toolbar settings 5 years ago
Jeff Boek cfb9b16863 No Issue - Fixes breaking snapshot change 5 years ago
mcarare 1168fbd638 For #8299: Select current ETP policy set on card creation 5 years ago
Arturo Mejia 95528c3191 For issues #8310 Disable the remove button while disabling an add-on
and vice versa.
5 years ago
MarcLeclair 834d7e13cd
Remove Tracking protection popup for visual testing (#8226)
* For #6903: allow override TP popup for performanceTest

* For #6903: refactored the code
5 years ago
Sparky93 1ed185d4c2 Fix for #7980 - MigrationStore's COMPLETE action now redirects to MigrationProgressActivity
In order to ensure that the user's migration screen is not being bypassed by mistake, we handle the
migration's store COMPLETED state the same way we handle the MIGRATING state.

We can do this because we can treat the initial state (NONE) as being either a fresh start of the
app, either the user's intention of starting the home activity.

Before this change, if the app was being open from the shortcut after the migration was complete,
the user would have been encountered the home activity instead of the migration one.
5 years ago
codrut.topliceanu 705567651f For #7978 - Remove ScrollView from migration activity. 5 years ago
codrut.topliceanu e193c9c084 For #7975 - Added a progress bar according to specs 5 years ago
Arturo Mejia 941c147989 mozilla-mobile/android-components#5867 Fix addonProgressOverlay IllegalStateException 5 years ago
Arturo Mejia 93a68736a3 For issue #8272: Keep the add-ons management ui in sync with add-ons
changes
5 years ago
Emily Kager 316215ca54 For #7999 - for Leanplum fxaHasSyncedItems use SyncEnginesStorage 5 years ago
David Walsh f51069cd82 For #8016 - Prevent duplicate domains from displaying inthe collection description on the home screen 5 years ago
Sawyer Blatz 453231b5fd For #7753: Increases touch target of crash page 5 years ago
Jeff Boek f9b05e7d5a
For #8212 - Fixes shadow/border when toolbar is on top (#8234) 5 years ago
Sebastian Kaspari f0af6d6f6e Update Mozilla Android Components to 32.0.0-SNAPSHOT. 5 years ago
Sparky93 c9313029a8 Fix for #5695 - Migration steps' status displayed before the migration completed
The migration steps' status was already being shown as succeeded instead of showing an "unchecked" list of
steps.
These changes will make the steps being "checked" one by one as the migration advances.
5 years ago
Jeff Boek 952c48c8ce For #4674 - Adds ability to toggle metric services by type 5 years ago
Jeff Boek 9f3faa43fe For #4674 - Adds marketing data as a collection choice 5 years ago
Emily Kager 5839f5891c No issue: Update androidx dependencies 02.08.20 5 years ago
Grisha Kruglov 7a272a4564 Enable fennec Pinned Sites migration 5 years ago
Jonathan Almeida e73b3cfbec
No issue: Simplify migration accessible string (#8249) 5 years ago
Emily Kager 17d7928cc9 For #7603 - Temporarily do not show biometric prompt for OnePlus devices 5 years ago
Emily Kager 9e4e23eceb
Closes #8176 - Adds new string for add to top sites (#8209) 5 years ago
Christian Sadilek 8a33897f3a For #8201: Enable/Disable uBlock button status isn't updated 5 years ago
mcarare 3ea5b08135 For #8190: Add animation to ETP policy selection 5 years ago
Arturo Mejia 2daf7c3142 For issue #8221: Fix crash in the AddonsManagementFragment when binding
the RecyclerView after the fragment is not attached anymore
5 years ago
Christian Sadilek 142104dc86 For #8202: Remove settings if add-on disabled
- Also fixes the crash described in #8202.
5 years ago
Gabriel Luong e3df9f0902
For #8167: Don't show the add-ons permission dialog if installation is in progress (#8230) 5 years ago
Michael Comella a896b47cfe For #7820: warm BrowsersCache on background thread.
In an early iteration of his patch on a beta build, I saw no improvement over
6 runs (Pixel 2):
- Before: 401.5ms
- After: 402.17ms

This may be attributed to noise in startup performance. However,
BrowsersCache disappears from profiles completely and results in
theoretical performance gains.

When using the StartupTimeline class (not landed yet), I see a 27.75ms
runtime improvement on beta builds after this patch.
5 years ago
Jeff Boek a42ad7603b For #5073 - Fixes visual alignment when certificate authority breaks into a new line 5 years ago
Jeff Boek 7a16192fd1 For #5073 - Use string parameter versus concatenating programatically 5 years ago
Kate Glazko 7c00a1ad6b For #5073: View Site Cert 5 years ago
mcarare 5bd5f81559 For #6980: Add onboarding Toolbar position picker card 5 years ago
Sawyer Blatz 0a6881d470
For #255: Removes autoplay media feature flag (#8198) 5 years ago
ValentinTimisica 29522d29ed For #1500: Passes resources to SessionSuggestionProvider
Change required for adding 'Switch to tab' description for a suggestion that
represents an opened tab. Implemented in AC
(https://github.com/mozilla-mobile/android-components/pull/5773)
5 years ago
Jeff Boek 62d540257f For #7965 - removed unused strings, reverted changes to radiobutton widget 5 years ago
David Walsh 4b9f07c511 For #7965 - Remove CDATA strings 5 years ago
Christian Sadilek 6019adafac For #6124 #8158: Prevent infinite loop on fast taps on enable switch 5 years ago
Tiger Oakes 5faa22d611
Use createBlendModeColorFilterCompat (#8129) 5 years ago
Sebastian Kaspari 5515f1ba5e Closes #4979 - Support Fennec web apps (PWAs). 5 years ago
Emily Kager eec8ea980b For #8128 - Do not use activity root view for fragment snackbars 5 years ago
Tiger Oakes 2ead67a531
For #7511 - Override private customtab icon tint (#8138) 5 years ago
Kadeem f4f93e761e NOISSUE - Renamed a misspelled variable. 5 years ago
mcarare 9d993cae92 For #8146: Extend radio buttons clickable area to title and description 5 years ago
codrut.topliceanu f5715df104 For #5694 - Changes migration list item 'Logins' to 'Passwords' 5 years ago
Mohammaduvez 00d7f4c91c
Fixes #5711 Added tint to onboarding icons (#8093)
* Added tint to onboarding icons and udpated finish button tint

* Replaced tint parameter with onboarding_card_icon color in setOnboardingIcon
5 years ago
Marc Leclair 8e61c71a98 reverting linting changes that touched codes that I didn't edit 5 years ago
Marc Leclair afab1c0f4e #8085 removed findViewById with actual id 5 years ago
Marc Leclair 9fc5a1b0fe #7700 fixed linting issues 5 years ago
Marc Leclair 92b38206c7 #7700 fixed scrolling, parallax action to match both images and some code clean up 5 years ago
Marc Leclair 72007590f7 #7700 squash commit and fixing toolbar to switxh to top with coordinatorlayout 5 years ago
Tiger Oakes c0d7bc5bd5 Use navArgs helper in fragments 5 years ago
Tiger Oakes 383a70482c Clean up toolbar menu class 5 years ago
Arturo Mejia 1fef90721a
For issue #8100: Add progress bar to the add-ons manager fragment 5 years ago
Arturo Mejia be7bd527f6
For issue #8097: Run add-ons callbacks only when the fragment is attached. 5 years ago
Grisha Kruglov 3f9ed2992c Bump to a-s 0.50.0 5 years ago
Emily Kager 46fd1a04f1 For #7456 - For top toolbar set correct progress gravity and background 5 years ago
Christian Sadilek d10a30e356 Closes #4983: Fennec migration: Keep installed add-ons 5 years ago
Arturo Mejia 6191fec0d8
No Issue: Close the web extension popup when we can't get the popup of the session. 5 years ago
Emily Kager 604ac83d0c For #7999 - Change fxa leanplum metrics to false by default 5 years ago
Gabriel Luong 64a4a7f422
Provide add-on support (#8064)
Closes #5630, #6069, #6092, #6091, #6124, and #6147.

Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
5 years ago
Mihai Adrian 4eb71ce235
For #6980: Update ETP onboarding card (#7958) 5 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.
5 years ago
David Walsh 4e6215c0c1 Fix linting issue 5 years ago
Sawyer Blatz 9f342fca9e For #6820: Updates background, shadow, & snackbars of toolbar 5 years ago
David Walsh 4b3effdfab For #6820: Place address bar at top or bottom of the home screen based on user preference 5 years ago
ValentinTimisica 0a76fdaa58 For #7289: Adds telemetry for selecting dark theme 5 years ago
Kadeem 321251c49c Updates the hide and reveal password icons to use and tint the mozac version. 5 years ago
David Walsh ae445abff3 Small improvements, lint fixes 5 years ago
Sawyer Blatz 030f75b4df For #5892 & #6380: Updates error page template and allows SSL bypassing 5 years ago
ValentinTimisica 2026c60136 For #6834: Adds telemetry for About page items
Didn't change the existing probe for 'whats new' item because we're already
collecting that info.
5 years ago
Mihai Branescu 2a876d5e0f For #7559 - fixes 2 issues:
- The same item now doesn't recreate the activity
- The app context now contains the right locale
5 years ago
Mihai Branescu 1b7cb117ca For #7559 - allows changing locale even after setting theme with
AppCompatDelegate.setDefaultNightMode(mode). The override is necessary because the uiMode needs
to be manually updated after changing theme
5 years ago
Sawyer Blatz 1372ed5837 For #7970: Updates snackbars for accessibility 5 years ago
David Walsh f728cdaf05
Bug 7189 - Provide page title in website information dialog (#7255)
* Bug 7189 - Provide page title in website information dialog

* Update QSFS test

* Fix Tiger's nits
5 years ago
Sawyer Blatz 94447657c4 No issue: Fixes strings for data migration 5 years ago
Mihai Adrian 24396d174f
For #6980: Add What's new card (#7952) 5 years ago
Jonathan Almeida 202f2b8811 Closes #7788: Route search widget intents through IntentReceiverActivity 5 years ago
Mihai Branescu b3d99c6bba
For #7679 - Replaced comparison by reference with value, added check for default in order to avoid double checkmark (example: default + English) (#7729) 5 years ago
Sören Hentzschel 8a7c7fd06f For #7730 - always show "Add private browsing shortcut" in sett… (#7943) 5 years ago
ValentinTimisica 154e11841a Fixes #7881: Send telemetry event when custom search engine is deleted 5 years ago
Sebastian Kaspari 18244cef51 Closes #7762: Initialize Glean later in Fennec builds. 5 years ago
Jonathan Almeida 40e72a7b28 For #7524: Remove DeviceConstellation polling from onResume (#7908) 5 years ago
Mihai Adrian 622fdadde8 For #7272: Show info when saved logins list is empty. (#7891)
* For #7272: Show info when saved logins list is empty

* For #7272: Updated unit tests
5 years ago
Emma Malysz 5e9b753acb For #7473, delay inflation of toolbar
Improve performance of HomeActivity.onCreate by delaying this inflation.
We use a ViewStub and inflate the first time the actionbar is accessed.
5 years ago
Gabriel Luong f93e141d52 For #7525 - Add telemetry for opening a top site in normal and private mode and removing a top site 5 years ago
Gabriel Luong 192eecdf5b For #6758 - Part 7: Add menu for opening a top site in private tab and removing a top site 5 years ago
Gabriel Luong 9ecb67e783 For #6758 - Part 6: Add top site view 5 years ago
Gabriel Luong f68f89f2bf For #6758 - Part 5: Add top sites to the HomeFragmentStore 5 years ago
Gabriel Luong e1863dd3c2 For #6758 - Part 4: Implement "Add to Firefox Home" browser menu item
- The "Add to Firefox Home" browser menu item adds a top site to the top site storage.
- Refactors the FenixSnackbar from BaseBrowserFragment into BrowserToolbarController
since there are multiple menu items that need to show a FenixSnackbar.
- Adds metrics for the new browser menu item.
5 years ago
Gabriel Luong 9ddf93eb7d For #6758 - Part 3: Add TopSiteStorage wrapper around AC's TopSiteStorage
This follows the existing pattern around TabCollectionStorage.
5 years ago
Sebastian Kaspari 9a15103a20 Issue #7762: Enable glean based on setting for non-fennec builds. 5 years ago
Severin Rudie 44e4d8e12c
No issue: clarify naming for showing a prompt to allow search suggestions (#7870) 5 years ago
Emily Kager a39a9e5b4e No issue: Enable about:config in beta builds 5 years ago
David Walsh 1ee0243efa Fix 4021 - Provide tab title during share 5 years ago
ekager c556e819bd For #5586 - Add telemetry for save logins setting 5 years ago
Emily Kager 7adb5b6084 For #6812 - Navigate via openToBrowser to selected session from search 5 years ago
Sawyer Blatz e1722b95b3 No issue: Fixes ErrorResponse instantiation 5 years ago
Arturo Mejia 310da6c1ea No Issue: Add support for deleting individual tracking protection
exceptions on nightly.
5 years ago
Chenxia Liu f726b03792 Fix breaking changes from new TrackingProtectionException 5 years ago
Sawyer Blatz 20396f78a9
For #7698: Adds search back button animation (#7840)
* For #7698: Adds search back button animation

* Refactor for searchController
5 years ago
Michael Comella e25ee98d7d No issue: fix typo in Performance.instrumentColdStartup... (#7848) 5 years ago
Kaaira Gupta 08cce8cf58 for #7421 :removed collection from clear browsing history 5 years ago
Michael Comella ffc441f12a For perf-frontend-issues#50: instrument imperfect reportFullyDrawn.
We don't capture the second RV draw yet. Unfortunately, I don't know if
it's the best use of my time to capture that as well.
5 years ago
Chenxia Liu e5164e3670 For #6980 - Pre-land string changes to onboarding cards. 5 years ago
Mihai Carare cd853d0d8f For #7029: Navigate to Search Fragment when pressing Start browsing 5 years ago
Kaaira Gupta e291c6905c For #3813 - Create a save button for bookmark editing 5 years ago
Severin Rudie 2dc5b397b6
For #7506: show highlight on home 3-dot button (#7665) 5 years ago
Mihai Adrian 355cb35cb6 For #7574: Send toolbar position metrics in English. (#7712) 5 years ago
Jonathan Almeida 02b4582c8d No issue: Update Migration UI with new API 5 years ago
Sebastian Kaspari af3726a505 Fennec home screen bookmarks: Select new tab. 5 years ago
Sebastian Kaspari 80eb19294b AboutFragment: Use SupportUtils.getWhatsNewUrl(). 5 years ago
Michael Comella a1cbbba4ea For #7423: remove unnecessary wordmark_spacer view.
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
5 years ago
ekager 053e5b8065 For #6396 For #6553 - Update sync engine checkboxes and send telemetry once 5 years ago
Kate Glazko dbf711e112 For #4904: Pressing back external link doesn't go back 5 years ago
Sawyer Blatz 509fa112d0 For #6308: Remove unecessary telemetry & bump expiry date (#7793)
* For #6308: Remove unecessary telemetry

* For #6308: Bump expiry date on telemetry
5 years ago
liuche 904098387a
Issue #7093 - Pre-land strings for new onboarding cards. (#7747) 5 years ago
Jeff Boek 6789df55a5 For #220 - Puts language picker behind a feature flag 5 years ago
Jeff Boek ea22f6d69b For #1607 - Fixes SearchShortcutSelected to not leak any custom identifiers 5 years ago
Jonathan Almeida f4b583fc0b For #ac-5601: Lock migration UI screen orientation 5 years ago
ValentinTimisica c106d89285 For #7751: Remove 'SearchWithCustomEngine' telemetry event 5 years ago
Sebastian Kaspari 3a1292911d Update list of tabs after onboarding screen was dismissed. 5 years ago
ValentinTimisica 981d19de13 For #6556: Adds Telemetry counts for Search Access Points
Added two new sources to be counted ('widget' and 'shortcut') besides 'action' and
'suggestion'. Also modified/fixed some tests.
5 years ago
Jonathan Almeida 261a6162af Review comments, fix build failure and targetActivity 5 years ago
Jonathan Almeida b89afe7b7c For #7092: Add initial Migration UI 5 years ago
Sebastian Kaspari 29d9ba472c Always initialize glean. Set upload flag after migration. (#7717) 5 years ago
ekager 0777fb3bbe For #5545 For #5542 Closes #6696 Integrate logins API, adds Settings for Autofilling/Saving Logins 5 years ago
Alessio Placitelli f93437c509 Fix GleanMetricsService to use the new Glean APIs 5 years ago
Jonathan Almeida 61570b5238 Closes #7645: Disable push service when migrating 5 years ago
ValentinTimisica a952d0858c For #5884: Fixed Unit tests. 5 years ago
ValentinTimisica 7c5c9355ce For #5884: Adds user-specified search engines telemetry
Created events for adding and deleting a custom search engine and for searches
performed with a custom search engine.
5 years ago
Colin Lee cf220427d7
Fix #7649: Fix missing NOT in asFeatureWebChannelsDisabled check (#7650) 5 years ago
Colin Lee 7baf54f566
For #5182: Loading experiments on startup is slow, remove Fretboard (#7510)
This removes Fretboard. The goal is to reduce cold startup costs associated with loading the experiments on the main thread. We currently have two experiments frameworks in use and should only require one.
5 years ago
Sebastian Kaspari 6419d0cf13 Open "migration FAQ" when selecting "What's new" in a Fennec build. 5 years ago
Tiger Oakes 55c1b01d7b For #7431: Remove extra share button 5 years ago
ekager cf05840c0f Move experiments initialization and fix ktlint errors 5 years ago
Sebastian Kaspari 1f5bfff025 Issue #6898: Allow empty adjust token for fennecNightly builds. 5 years ago
ekager 47c13136f7 No issue: Fix dynamic theming to accommodate lazily inflated readerview 5 years ago
mcarare a72620ae07 For #7522 Catch IllegalArgumentException when validating search string 5 years ago
Sawyer Blatz a58decd708 For #6304 & #7577: Persist private mode between app launches 5 years ago
Mihai Adrian 0a412a1a6a For #6992 Always hide toolbar when showing find in page bar (#7567) 5 years ago
Mihai Adrian 666b3d9627 For #7343: Handle sharing to multiple devices (#7409)
* For #7343 Do not allow multiple share to same device

* For #7343 Check current destination before dismissing share
5 years ago
Sawyer Blatz 718c211a86
For #1718: Sets accessibility users to top toolbar by default (#7486) 5 years ago
Mugurell 6d44ceceda For #6836 - Limit Leanplum depending on current locale. 5 years ago
Josh Vocal 9449cb4437 Fix truncated tracking protection info text
* Allow tracking protection titles to wrap instead of being cut off
* Refactor view ids to match the layout
5 years ago
Sebastian Kaspari e3408b12b4 Update Mozilla Android Components to 28.0.0-SNAPSHOT. 5 years ago
Rushab Kumar e6791b5c08 For #7154 - Fix crash when tapping on "Blocked" in the site info panel (#7404) 5 years ago
mcarare 2bdde48986 For #7522 Ensure correct protocol is used in search string 5 years ago
Severin Rudie 569b7670d3 For 6832: update implementation/comment to align w existing AC code 5 years ago
Severin Rudie 65f5ff6b36 For #6832: fix unattached context crash in HomeFragment 5 years ago
mcarare b115a00589 For #7155 Align custom tabs overflow menu to original mocks
Reverse menu items order when toolbar position is top
5 years ago
mcarare 6aa8c98e00 For #7519 Navigate up from search fragment to handle all entry points 5 years ago
mawen7 a2e0af3194 Only close tab on back press if it has a parent tab 5 years ago
kglazko 8ed14ac062
Issue 5736 Improve pop behavior after deleting tabs in settings (#7478) 5 years ago
Emily Kager 7d613b72ae For #7181 - Adjust ETP onboarding for toolbar positions 5 years ago
Will Hawkins 9c28cb632c Issue #7425 (et al): Cache the list of installed browsers
Cache the list of installed browsers. Calling `Browsers.all`
the application directly redundantly recalculates the list.
Accessing the list of installed browsers through this cache
will reduce that overhead.
5 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
5 years ago
Jeff Boek fdb1f505cc For #5552 - Reverts temporary fix for #5552 5 years ago
Tiger Oakes 75b87334fa
Change type for OnboardingAutomaticSignIn (#7474) 5 years ago
Michael Comella 4bab493487 No issue: remove useless @MenuRes annotation in History Fragment.
This annotation was not applied correctly and lint was unable to ensure
it was used properly: it declared an error in lint saying so but that
error was ignored. I did not know how to apply the annotation - and I
felt it had limited utility - so I removed it entirely in order to
permit the lint baseline file to be removed (it was the only error).
5 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>
5 years ago
Severin Rudie 9cbc3f7a4a
7410 remove rxjava (#7426)
* For #7410: rewrite updateBookmarkFromObservableInput with coroutines

* For 7410: remove RxJava from project. :(

* For 7410: converted updateBookmarkFromTextChanges to Flow per review
5 years ago
Jonathan Almeida 0768fde945 No issue: Use SendTabFeature and FxaPushSupportFeature 5 years ago
Sawyer Blatz c7c4ad051a
For #6413: Adds more snackbar positioning logic (#7444)
* For #6413: Adds more snackbar positioning logic

* Refactor
5 years ago
Roger Yang f6e286fd9c
Closes #7346: Enable dynamic app links in Fenix (#7361) 5 years ago
Sawyer Blatz 3fb060f682
For #6413: Fixes snackbar positionining for bottom toolbar (#7415)
* For #6413: Fixes snackbar positionining for bottom toolbar

* For #6413: Cleans up snackbar usage
5 years ago
Emma Malysz 13f73c2d2c
For issue 7192: move unsetOpenLinksInAPrivateTabIfNecessary off main thread. (#7246)
Move method to Settings. There are two instances when we want to call this method: either
processing an intent, or within DefaultBrowserPreference
5 years ago
Michael Comella cf143489e1 For #6464: Replace use of BuildConfig.DEBUG with ReleaseChannel.channel.isDebug.
This fixes performance issues where StrictMode would greatly slow down
startup in the forPerformanceTest variants.
5 years ago
Michael Comella ac97dd72b1 For #6464: Set "forPerformanceTest" to ReleaseChannel.FenixProduction.
This fixes a perf measurement issue where Sentry would capture an event when
using the forPerformanceTest variants.
5 years ago
Michael Comella f11ddf8038 For #6464: Add ReleaseChannel.isDebug. 5 years ago
Severin Rudie f562c81fb2 For 5334: test NotificationSessionObserver 5 years ago
Severin Rudie a8c47c8805 For #5334: disable notification for private custom tabs 5 years ago
Sawyer Blatz 9a693f6c11
For #7000: Fix inverted media telemetry (#7368) 5 years ago
Severin Rudie 26b7909214
For #7352: integrate highlightable browser menu changes (#7353)
* For #7352: integrate highlightable browser menu changes

* For 7352: invalidate menu when reader mode availability changes

* For 7352: removed highlight from reader mode appearance per UX
5 years ago
Sawyer Blatz faa4136685 For #7347: Fixes background of search field 5 years ago
Sawyer Blatz 4fd3eb53d1 For #6666: Adds back button to search screen 5 years ago
Suraj Shah 6344a8892d For #7041 - Respect current mode when opening library items (#7311)
* Fixes #7041
Consumes `browserMode` from home activity for tap method of bookmark

* Fixes spaces

* Cleaning tests

* Cleaning tests
5 years ago
Roger Yang dd1433733a
Closes #7156: Update app links feature usage to include app links interceptor (#7275) 5 years ago
Josh 593981fa4b Fix parameterized message in search engine (#7302) 5 years ago
Jeff Boek 740572b6d9 For #5334 - Override custom tab styling in private mode (#7305) 5 years ago
Josh a40af5b134 Closes #7254 - Replace Anko applyConstraintSet (#7286)
* For #7254: Replace anko applyConstraintSet

* Anko has been deprecated and will not be continued

* Refactor ConstraintSet changes

* Replace applyConstraintSet in SearchLayouts

* Refactor HomeFragment ConstraintSet

* Define anonymous ConstraintSet
* Remove ConstraintSet prefix from PARENT_ID
5 years ago
Tiger Oakes b85673acac Clean up settings fragments 5 years ago
Josh Vocal 43354489a1 For #7253 - Replace anko setters 5 years ago
Tiger Oakes 76c83ba805
For #7085 - Remove anko px2dip (#7252) 5 years ago
Tiger Oakes 7c9a5c1f14
For #768 - Add PWA install option to menu (#6882) 5 years ago
mcarare 907d96e39f For #6709, for #6849 Handle default engine deletion and undo operation
Uninstall engine immediately and allow reinstall in onCancel.
Set previous list with default engine in onCancel.
Keep default engine change in operation and remove now unnecessary view refresh.
5 years ago
Tiger Oakes f439c8110e For #7183 - Fix bottom margin in PWAs 5 years ago
Rushab Kumar 562eb89356 For #7250 - Replace anko.dimen 5 years ago
Sebastian Kaspari e789d8ebe3 Issue #4978: Reuse widget package name of Fennec. 5 years ago
Emily Kager 5ac79f59a3 For #7219 - Polish Download Notification Dialog. (#7224)
* For #7219 - Use accent color for downloads dialog positive button

* For #7219 - Fixes gap beneath download notification dialog

* switch to setimageresource
5 years ago
Roger Yang 1a739db5b1 Closes #7260: Pass in GeckoView version information to MozillaSocorroservice 5 years ago
Grisha Kruglov 52334f9121 Closes #6937: Disable runStorageMaintenance during startup
This call will acquire a "write" lock at the storage layer (sqlite's reserved+),
which may interfere with migrations that run during startup as well (they need to
write to storage, and so also need to acquire a lock). If these operations clash,
we get a SQLITE_BUSY crash. For now, just disable the maintenance operation.
5 years ago
Tiger Oakes ea486d7c66
Split out CustomTabToolbarIntegration (#7107) 5 years ago
Suraj Shah 6cb3879caf For #7048: Network info migration (#7091)
* Fixes #7048.
Adds extension function to check if online or not based on capabilities
Modified `buildDeviceList`
Modifies tests

* Fixing lint error for max length
Fixing test in AppRequestInterceptorTest.kt

* Adds suppression for deprecation
Moving away from using anko for ConnectivityManager instance

* Creates ConnectivityManager extension component

* Fixes #7180
Refactors test cases to fix static mocks
5 years ago
David Walsh e727ae5d7e Fix 5366 - Use VectorDrawableCompat for all imagery (#7221)
* Fix 5366 - Use VectorDrawableCompat for all imagery

* Fix detekt lint issues

* Restore previous comment contents
5 years ago
Severin Rudie cd53e9778a For 6795: expands toolbar whenever a new session is selected
This ensures that the bar is expanded when opening a link in a new tab
5 years ago
Jeff Boek 49f07554e7 No Issue - Removes some search engines 5 years ago
mcarare 90c77519a6 For #7194 Set snackbar anchor depending on browser toolbar position 5 years ago
Patrick Martin 71880705df For #5711 - Onboarding colours have contrast issues 5 years ago
Afzal Najam b9656a978e Hide add folder option when in Desktop Bookmarks folder 5 years ago
Ryan Kelly 31f2e80ab0 Use feature-accounts-push, which replaces feature-sendtab. 5 years ago
mcarare bc6b7725e9 For #6968 Close response stream to allow use of caching 5 years ago
mcarare d2abac78eb For #7075 Update passwords preference visibility and string
Set visibility for feature flags before settings screen it's displayed.
Change string for preference to match existing header string.
Update UI Tests
5 years ago
mcarare ef53e1ff8e Reverts #6925: Make home screen full screen 5 years ago
Will Hawkins 116f7b3d65 No Issue: Create a method to "finish onboarding" in CI
If the intent that starts the HomeActivity includes an extra
boolean flag named finishonboarding and it is set to true,
Fenix will "finish onboarding".
5 years ago
Emily Kager 686facffc6 For #6946 - Get engine margins without assuming top/bottom toolbar 5 years ago
Emily Kager dcb39b0a44 For #7124 - Match toolbar location for ETP/security panel gravity 5 years ago
Vlad Filippov a3f2f55548 Closes #5913: Add new sessionToken scope (#6155) 5 years ago
Tiger Oakes 32985af882 For #6830 - Fix "Open in" text size for custom tab (#7010) 5 years ago
ValentinTimisica b819cb11c9 For #4776: Added Unit tests for About Page. 5 years ago
ValentinTimisica c6c827f693 For #4776: Redesign and refactor the About Page
Added new items to be displayed.
5 years ago
Mihai Branescu c46bf84ac9 For #6330 Collections Numbering (#6453)
* For #6330 - Added logic for getting the recommended default collection name

* For #6330 - Added unit test for default collection number method
5 years ago
Tiger Oakes fe034226a3
For #5783 - Web Share with Fenix share sheet (#6883) 5 years ago
Mihai Adrian 6e9769a81b For #7031 - Hide progress bar when leaving DeleteBrowsingDataFragment (#7056) 5 years ago
Tiger Oakes 3f7205e3cb
Extract IntentProcessorType to its own file and add tests (#7012) 5 years ago
Severin Rudie 7477de83e9 For #4844: fix file prefix url shortening 5 years ago
Severin Rudie 957ed8aa88 For #5334: fix ETP shield coloring on custom private tabs 5 years ago
Mihai Adrian 45ae8cb35a For #6997 Avoid overwriting empty_search_string error (#6998)
Setting error twice also clips error message
5 years ago
Emily Kager 76e9200304 For #6922 - Check current destination is logins fragment before navigation (#6924) 5 years ago
Michael Comella 2a4aa24195 For perf-frontend-issues#33: Clarify VERBOSE logging motivation. 5 years ago
Michael Comella eef080a46c For perf-frontend-issues#33: Add HotStartPerformanceMonitorTest.
We really don't want our startup tests to subtlely change so I thought
it was worth writing some quick tests.
5 years ago
Michael Comella e60141e98d For perf-frontend-issues#33: Add HotStartPerformanceMonitor.
As mentioned in the class comment, we could use an alternative
implementation to measure perf from outside the application however
it's more complicated to set up and less consistent with our cold
startup methodology so we'll start with this.
5 years ago
ekager 1647e07481 For #5771 - Don't force landscape mode on fullscreen 5 years ago
mcarare b6ba1a1611 For #4107 Make home screen fullscreen.
Add/Remove fullscreen flags in home fragment's onResume / onPause
Change homeLayout padding to include system bars height (status&navigation).
Change homeMenu orientation to UP to properly display menu.
Change home bottomBar background to transparent.
5 years ago
mcarare 17731620e6 For #7026 Dispatch ModeChange on hideOnboarding 5 years ago
Grisha Kruglov 42d6915699 Fennec migration: enable logins migration 5 years ago
Jeff Boek 45c6e3a784 For #1607 - Passes "custom" as the search engine identifier for custom engines 5 years ago
Severin Rudie dfea877fb7 No issue: small installedSearchEngineIdentifiers readability refactor 5 years ago
Severin Rudie 2aa80eff95 No issue: tests installedSearchEngineIdentifiers 5 years ago
Severin Rudie d3ff98816d No issue: begin moving FenixSearchEngineProvider into a testing harness 5 years ago
Severin Rudie 5f393bd5d4
For #5334: added private custom tab processor (#6845)
* For #5334: added private custom tab processor

* For #5334 - Fixes up IntentReceiverActivity for handling intents

* For 5334: update styling for private custom tabbs

* For 5334: update tests to account for new processors

Note that two are still failing. These appear to be true failures, and will be corrected in a later commit.

* For 5334: fixes bug introduced by changes to IntentReceiverActivity

RCA: intent className and extra were previously set based on which processors matched, not which successfully processed. This patch reintroduces that behavior.

* For 5334: add tests for custom tabs processing
5 years ago
kglazko 300d8317e1
Issue 5366 Vector Drawable Compat (#6904) 5 years ago
mcarare 45b9ffd66e For #6917 Emit mode change only when new mode is different from current 5 years ago
Mihai Adrian 3283d6ed0b For #6910 Align shortcuts in private onboarding panel style to… (#6950)
Divider only shows when both panel and "Search with" are visible
5 years ago
Mihai Adrian cbdf83c12a For #6943 Hide supportActionBar in onResume, not onCreate (#6978) 5 years ago
Gabriel 56b21426eb
For #5574 - Migrate SessionControl to LibState (#6651)
* For #5574 - Part 1: Port TabAction.SaveTabGroup to TabSessionInteractor and SessionControlController. (#6651)

- Introduces the TabSessionInteractor, SessionControlInteractor and SessionControlController classes.
- Removes the TabAction.SaveTabGroup.

* For #5574 - Part 2: Port TabAction.PrivateBrowsingLearnMore to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 3: Port TabAction.ShareTabs to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 4: Remove unused TabAction.Share and TabItemMenu (#6651)

In #2205, the tab overflow button was removed which would have shown the
TabItemMenu when clicked. So, we can remove TabItemMenu since it is not
used and as a result, we can also remove TabAction.Share since there are
no consumers.

* For #5574 - Part 5: Port TabAction.PlayMedia and TabAction.PauseMedia to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 6: Port TabAction.Select to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 7: Port Onboarding.Finish to OnboardingInteractor and SessionControlController (#6651)

* For #5574 - Part 8: Port TabAction.Close and TabAction.CloseAll to TabSessionInteractor and SessionControlController (#6651)

- Removes TabAction

* For #5574 - Part 9: Port CollectionAction.Delete to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 10: Port CollectionAction.ShareTabs to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 11: Port CollectionAction.AddTab and CollectionAction.Rename to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 12: Port CollectionAction.RemoveTab to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 13: Port CollectionAction.OpenTab to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 14: Port CollectionAction.CloseTabs to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 15: Introduce a HomeFragmentStore (#6651)

- We will hook up the HomeFragmentStore in later parts.
- Removes List<Tab>.toSessionBundle(context: Context) since it is unused.

* For #5574 - Part 16: Port CollectionAction.Collapse and CollectionAction.Expand to CollectionInteractor and SessionControlController (#6651)

- We assume the store is hooked up to the SessionControlController in this part,
but this work will be done in a later part.
- Removes CollectionAction.

* For #5574 - Part 20: Remove the architecture module. (#6651)

* For #5574 - Part 17:  Remove duplicate subscribeToTabCollections in BrowserFragment.kt (#6651)

There is a duplicate call of subscribeToTabCollections() in both HomeFragment and BrowserFragment.
In this patch, we remove the call in BrowserFragment to avoid passing the HomeFragmentStore to
BrowserFragment in order to dispatch the CollectionsChange event.

* For #5574 - Part 18: Delete SessionControlComponent and fix TabCollection and Tab imports (#6651)

* For #5574 - Part 19: Use the new HomeFragmentStore in the HomeFragment (#6651)

- Renames SessionControlUIView to SessionControlView

* For #5574 - Part 21: Fix white screen on home fragment (#6651)

* For #5574 - Part 22: Fix formatting in SessionControlInteractor and replace See with @see in SessionControlController (#6651)

* For #5574 - Part 23: Move to metrics.track call to the beginning of handleCollectionRemoveTab (#6651)

This ensures that the metrics.track will be called immediately before the tab is removed from the collection.

* For #5574 - Part 24: Use the sessionManager getter in SessionControlController (#6651)

* For #5574 - Part 25: Use mapNotNull in List<Tab>.toSessionBundle (#6651)

* For #5574 - Part 26: Simplify closeTab and closeAllTabs functions by assigning a deletionJob constant (#6651)

* For #5574 - Part 27: Replace listOf() with emptyList() in removeAllTabsWithUndo (#6651)

* For #5574 - Part 28: Replace the Context parameter with the HomeActivity in SessionControlController (#6651)

* For #5574 - Part 29: Add test for HomeFragmentStore, DefaultSessionControlController and SessionControlInteractor (#6651)

* For #5574 - Removes running CI against the architecture debug build varient
5 years ago
Jeff Boek d4e3a2037f For #6855 - Filter out duplicated bundled search engines
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
mcarare c3389dcdb5 For #6070 Adds telemetry for enabling search suggestions in private 5 years ago
Jeff Boek 781b141bc7 For #6849 - Properly select a new default search engine when you delete the current one
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Jeff Boek eb6e6b774f For #6848 - Sorts the search engine list without case sensitivity
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Jeff Boek 1cc496a683 For #6847 - Properly rebuilds the SearchEngineList on undo
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Emily Kager d1b134c2ff For #6908 - Set null anchors for snackbars with top toolbar (#6911) 5 years ago
Jeff Boek e8972bb47d For #6795 - Auto shows toolbar when loading a new URL (#6955)
Co-authored-by: Severin <Baron-Severin@users.noreply.github.com>
5 years ago
ekager 3df32edff0 No issue: Fix search suggestions strings 5 years ago
ekager f227acc9f0 For #6791 - Inflate SavedLoginsListItemViewHolder layout explicitly 5 years ago
ekager d8babadf7f For #6889 - Check current destination before navigating from settings 5 years ago
ekager f5cf0b7e2a For #6890 - Don't crash with no connection when adding custom search engine 5 years ago
Severin Rudie 2a95a82e32
For #5540: updates error page copy when no internet is available (#6803) 5 years ago
cesar 6cda430cdd nested loop removed 5 years ago
cesar 4422e3ed39 Closes #6731 - fixed BookmarkNode minus operator and deleteOperation 5 years ago
mcarare 41ccb02933 For #6516 On browsing mode change empty tab list before displaying new list 5 years ago
Tiger Oakes a16aedb680 For #6827, #6811 - Cast layoutParams to MarginLayoutParams 5 years ago
Tiger Oakes d5e01384d8
Suppress upcoming deprecation (#6765) 5 years ago
Gabriel Luong 85111f538a For #6857 - Replace BackHandler with UserInteractionHandler in InflationAwareFeature and InflationAwareFeatureTest 5 years ago
Jeff Boek 1b1f9348dc No Issue - Fixes warnings / compiler errors with A-C update 5 years ago
mcarare c5f18e0f96 For #6629 Align Private Browsing mode to UX specs 5 years ago
ekager 7cd1d55e00 For #5586 - Track all login copy events 5 years ago
Will Hawkins a69253cf22 Issue #5183: Initialize megazord asynchronously
Thanks to the work of the team at application-services, it is possible
to asynchronously initialize the Http client and logger used by megazord
Use that power to hide the time necessary to complete this initialization
within the time that it takes to warmup the gecko runtime.
5 years ago
mcarare f69eb83141 For #4219 Set url view not important for accessibility
Talkback rectangle for url view selection will include parent view
5 years ago
mcarare 373bd63c40 For #6470 Remove actions from notification, keep just close private tabs
Removed NotificationsIntentProcessor because notifications no longer open app
Added new strings
5 years ago
Mihai Branescu 7cf71c8ef3
For #6396 - Added metrics for tracking history/bookmarks account sync toggles (#6601) 5 years ago
Mihai Adrian 4fd3aa8649
For #2570: Hide 3-dots menu for all library items when in select mode. (#6736)
notifyDataSetChanged to avoid not displayed but created items not being redrawn
5 years ago
Jeff Boek 5f7b3bd4d7
For #5972 - Fixes bugs when launching in private mode on Android 5 (#6702) 5 years ago
Sawyer Blatz db02fc6ef8
For #6821: Fixes issues with custom tabs and dynamic toolbar (#6822) 5 years ago
Mihai Adrian 33b49ff7fd For #6430 Private browsing hint width should not exceed screen dimensions (#6786)
Renamed ambiguous pop-up window name.
Adjusted code to match max line length.
5 years ago
Sawyer Blatz 769c1e422d For #5694 & #6054: Allows users to change toolbar position (#6608)
* For #5694 & #6054: Adds preference screen for toolbar

* For #5694: Adds changing toolbar position functionality

* No issue: Updates telemetry links to actually work lol 😬

* For #6054: Adds toolbar position to core ping
5 years ago