1
0
Fork 0
Commit Graph

527 Commits (c119070e213ac2f835967f045d13bca36db972b9)

Author SHA1 Message Date
Gilbert Gilb's 2743c37b40 Add custom Activity to show libraries licenses.
As Google's library for showing licences isn't open-source, this commit
reimplements its main Activity. This is in prevision to having an OSS
flavor of fenix.

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

Fixes #7584

See also #162
2020-08-17 19:18:22 -07:00
Arturo Mejia 5d14688448 For issue #12796: Ensure Cookie purging is only active in nightly or debug. 2020-08-17 10:03:25 -04:00
Tiger Oakes a04b91ee3c
FNX-14513 ⁃ For #12862: Use concept-menu in library (#13332) 2020-08-14 16:44:09 -07:00
Tiger Oakes 57e557fd18
Use AC version of PrivateNotificationService (#12459) 2020-08-14 16:08:41 -07:00
Kainalu Hagiwara 1ad9da09b0 Remove selection holder from bookmark viewholder constructors.
Now that we're passing the mode to the viewholders in their bind
methods, there's no real need to pass them into their constructors. This
also allows us to remove the indirection of having the adapter implement
the SelectionHolder interface and have the mode implement it directly.
2020-08-14 13:03:08 -07:00
Kainalu Hagiwara b1db1cf976 Add tests for Bookmarks DiffUtil and ViewHolders. 2020-08-14 13:03:08 -07:00
Tiger Oakes 0aab7a806a Add test for createInitialSearchFragmentState 2020-08-14 13:01:24 -07:00
Tiger Oakes 3086d8a694 Add test for search dialog controller 2020-08-14 13:01:24 -07:00
Kainalu Hagiwara d9ffac0c89 For #13405 - Use toolbar location relative to the whole screen instead of window. 2020-08-13 14:08:49 -07:00
codrut.topliceanu f0a045f9b9 For #13390 - Fix for stuck readerMode appearance controls 2020-08-13 15:27:31 +03:00
Mugurell b993b94be1 For #12857 - Use Collection title when sharing tabs collection
Avoided passing the subject for sharing a collection of tabs in the ShareData
object since ShareData is part of a web standard.
2020-08-12 13:40:58 +03:00
Kainalu Hagiwara 09473b991d For #12926 - Add back button to menu. 2020-08-11 10:36:55 -07:00
Arturo Mejia 841d19e8be Fix breaking behaviour on BrowsersCacheTest from AC 54.0.20200810074539 2020-08-10 12:54:25 -04:00
Sebastian Kaspari 77263aad70 Validate deep links. 2020-08-10 15:58:32 +02:00
Jonathan Almeida 9568bdaed8 Update Android Components and fix breaking tests 2020-08-07 19:49:59 -04:00
Sebastian Kaspari c93a29f89a Simplify build variants to just: debug, nightly, beta and release.
Co-authored-by: Johan Lorenzo <jlorenzo@mozilla.com>
2020-08-06 11:52:10 +02:00
Tiger Oakes d45af2a717
For #11903: Fix private custom tabs (#13327) 2020-08-05 16:24:47 -07:00
Kainalu Hagiwara 30c7b5ea5e For #12831 - Disable SwipeRefreshLayout while swiping a bookmark. 2020-08-05 09:00:43 -07:00
Kainalu Hagiwara 5318d64911 For #12906 - Fix swipe-to-delete bookmark folder. 2020-08-05 08:59:26 -07:00
ekager a1a839f237 For #13221 - Update global ETP to include PBM 2020-08-04 14:34:24 -04:00
Tiger Oakes c9f8986d2b
Don't init glean in unit tests (#13100) 2020-08-04 11:18:52 -07:00
Jeff Boek ef7cf4fdcf For #13229 - Cache deviceId for reuse 2020-08-04 11:07:20 -07:00
Tiger Oakes f3f470a977
For #13140: Use concept-menu for saved logins menu (#13143) 2020-08-02 18:48:10 -07:00
Michael Comella 5d8c900391 For #12802: add StorageStats glean metrics. 2020-07-31 16:05:06 -07:00
Tiger Oakes 1d28f63737
Closes #12522: Reuse exceptions code (#13047) 2020-07-31 13:24:14 -07:00
Kainalu Hagiwara 52e19ec743 For #12888 - Add highlight to current page in tab history. 2020-07-31 12:54:42 -07:00
Mihai Branescu 64072a1256 For #11498/#11499 - added/fixed unit tests 2020-07-31 21:42:57 +03:00
Kadeem 78126122ad For #12769: Refactored Background Service Test into multiple test cases. 2020-07-31 10:47:11 -07:00
Mugurell ab2ea8e682 For #13037 - Use email to sign in to fxa if device has no camera
App can be installed on devices with no camera modules. Like Android TV boxes.
Will skip presenting the option to sign in by scanning a qr code in this case
and default to login with email and password.
2020-07-31 20:02:23 +03:00
Mihai Eduard Badea 58e24b81aa For issue #12400 - Refresh swiped collection tab view
Item is now refreshed by calling notifyDataSetChanged on the adapter when the last tab from the collection has been swiped away and the user cancels the deletion by pressing the cancel button from the dialog.
Also added a "wasSwiped" flag to onCollectionRemoveTab in order to check if the tab was deleted from a swipe action and not by pressing the "X" button.
2020-07-31 12:48:32 -04:00
Tiger Oakes 5ddf8beea7 Fix suggestions, extract layout for tab history 2020-07-30 17:54:09 -07:00
Tiger Oakes 6152469ffd Add tests for tab history 2020-07-30 17:54:09 -07:00
mcarare ed8a9bd1a0 For #12565: Remove activity from DefaultTabTrayController constructor. 2020-07-30 13:33:02 +03:00
Tiger Oakes 1a51b7f874 For #13084 - Use runBlockingTest 2020-07-29 21:51:28 -04:00
Tiger Oakes 0e3acfcd94 Move config to robolectric.properties 2020-07-29 17:46:26 -07:00
Tiger Oakes f75be41d3a Add metric tests 2020-07-29 14:58:48 -07:00
Kainalu Hagiwara 57c7955637 For #12865, #12990 - Disable swipe to switch tabs gesture when the keyboard is visible. 2020-07-29 14:55:03 -07:00
ekager 1497e4886e For #13084 - Update SavedLoginsStorageControllerTest 2020-07-29 15:15:18 -04:00
mcarare 048f6a49fe For #12565: Pass passwordsStorage instead of context in constructor. 2020-07-29 12:15:16 -04:00
mcarare 4b74ff186b For #12565: Remove context from DeleteBrowsingDataController constructor 2020-07-29 17:46:43 +03:00
sraturi 537d95c04d for #11830 created class containing the logic for sending AllStartup telemetry logic
lint check

renamed the intentReceived telemetry to appOpenedAllSource

added comments

removed unused code

moved lifecycle process to AppAllSourceStartTelemetry

moved tracking event out of init function

lint fix

moved appAllStartTelemetry to components

added bit more info about the metrics

added the  onReceivedIntent metric back

minor fix

change discriptions based on the comments frm MR

wrote test cases for AppAllSourceStartTelemetry.kt

lint fix

test case to mock application going background

post rebase:

post rebase:

fixed nit from comments

fixed nit from comments

fixed nit from comments

lint fix

lint fix
2020-07-28 17:09:42 -07:00
Tiger Oakes 8d1bd10e6b Test paged history provider 2020-07-28 12:35:34 -07:00
Jonathan Almeida 239e3de5e9 For #12856: Add save to collections button to Tabs Tray
Using the ConcatAdapter, we're now able to insert multiple data sources
of information into one RecyclerView and preserve layout/scrolling in
addition to adding the 'Save to Collection' button.
2020-07-28 11:14:08 -07:00
Jeff Boek 46f010f247 For #2681 - Adds ability to bypass cache when reloading 2020-07-27 12:11:11 -07:00
Tiger Oakes d640f58316 For #12565 - Clean up controller and add tests 2020-07-27 10:40:09 -07:00
ekager e5e62fa79a For #6846: Added quick actions for nav bar in home 2020-07-27 13:28:28 -04:00
ekager 46511d6f8e For #10163 - Adds tab multiselect mode 2020-07-24 18:18:26 -04:00
Jonathan Almeida d15b8381a6 For #10925: Fix breaking APIs in tabs tray 2020-07-24 16:52:06 -04:00
Sawyer Blatz 9c56e1905b For #12793: Improve snackbars for tabs tray 2020-07-24 10:56:54 -07:00
Tiger Oakes d3a07e95c9 For #12565: Don't pass contest to SortingStrategy 2020-07-23 19:05:11 -04:00