Commit Graph

7156 Commits (3d678da8c3e9996638490d20793a732c6d60ef03)
 

Author SHA1 Message Date
MickeyMoz 3d678da8c3 [fenix] Update Android Components version to 94.0.20210919202539. 3 years ago
MickeyMoz 9cbc666a2d [fenix] Update Android Components version to 94.0.20210919143155. 3 years ago
Mozilla L10n Automation Bot 530d6a0cf8 [fenix] Import l10n. 3 years ago
MickeyMoz 592e76188f [fenix] Update Android Components version to 94.0.20210917190109. 3 years ago
Mozilla L10n Automation Bot 1f0efff72e [fenix] Import l10n. 3 years ago
Michael Comella 9c2e6eee78 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21296: add ProfilerMarkers.addForDispatchTouchEvent. 3 years ago
Michael Comella 49294996e2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21299: add duration markers for HomeActivity Create/Start.
We only instrument these methods because they're the only ones that
noticeably long running in the current implementation.
3 years ago
Michael Comella 4a132b958b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21299: add duration marker for IntentReceiverActivity.onCreate.
We only instrument onCreate because it's the only one with an
implementation.

While declaring this as a function that accepts a lambda is less
fragile, we've previously had issues with it such as suspected memory
leaks when used for telemetry. Therefore, we go with the simpler
approach.
3 years ago
Michael Comella f53adc5b12 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21299: add markers for all activity lifecycle callbacks.
We implement these all in the same track because between it'd create a
lot noise between this and fragment lifecycle callbacks.
3 years ago
Roger Yang 21c8f3d1a0 [fenix] Update tabs tray title header string comment to clarify what it does. 3 years ago
Michael Comella 8d5a7606f4 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/21335: return self instead of mock in FenixSnackbarKtTest.
This is a speculative fix for the intermittent issue. Typically, these
intermittents are caused by mocked lambdas but there is no mocked lambda
here. If this doesn't work, one `any()` argument fills in for a lambda:
it's possible that's causing the failure.

Unfortunately, I can't verify this fix easily because the "run test until
failure" option was removed from Android Studio.

See d396c9eb41298cc07fbf136f1de971010bc45d97 for a prior attempt to
address the intermittents in this class.
3 years ago
Jonathan Almeida c2d385f142 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21236: Fixes empty tray visibility logic
This is a bug we noticed after landing search term grouping.

An adapter can submit an empty list of items to the `ConcatAdapter`
early. This has the side-effect of triggering our `observeFirstInsert`
too soon and therefore updating the visibility to show the empty tray
placeholder and never switches back.

Our solution is to keep a constant observer on the adapter so we can
perform the visibility check on every insert/remove.

Co-authored-by: Roger Yang <royang@mozilla.com>
3 years ago
Sebastian Kaspari b239d7d934 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21291: SearchDialogFragment: Get URL from clipboard once and not for every state update 3 years ago
Roger Yang 02cbf2953f [fenix] For https://github.com/mozilla-mobile/fenix/issues/21236: Separate tabs with the same search term into a different section (https://github.com/mozilla-mobile/fenix/pull/21177)
* For https://github.com/mozilla-mobile/fenix/issues/21236: Separate tabs with the same search term into a different section in tabs tray

* Issue https://github.com/mozilla-mobile/fenix/issues/21236: Scroll to selected tab + various tab fixes for groupings

* Issue https://github.com/mozilla-mobile/fenix/issues/21236: Fix failing test

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
3 years ago
MickeyMoz 9e623667e8 [fenix] Update Android Components version to 94.0.20210916214430. 3 years ago
Mozilla L10n Automation Bot 47805dc6bb [fenix] Import l10n. 3 years ago
Arturo Mejia 96e083e5b3 [fenix] Update strings comments 3 years ago
Michael Comella 336d681451 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21309: add profiler markers on global layout. 3 years ago
Michael Comella 595a81aec2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21309: set up HomeActivityBinding the recommended way.
The recommended way is here:
https://developer.android.com/topic/libraries/view-binding

I was concerned with the existing implementation that binding was being
set conditionally.
3 years ago
Michael Comella 6e63dce89d [fenix] For https://github.com/mozilla-mobile/fenix/issues/21309: remove outdated comment regarding async nav graph. 3 years ago
Aaron Train 214d88f7c2 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/21340: Disable auto Google login in Flank config (https://github.com/mozilla-mobile/fenix/pull/21341) 3 years ago
Michael Comella 2dc9cfec20 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18102: remove intermittent failing App onCreate duration measurement test.
The test as it exists relies on the robolectric lifecycle, which is hard
to predict, so it doesn't seem worth fixing the test. Writing the test
any other way would require excessive mocking, which also seems
impractical.
3 years ago
rxu e78754d598 [fenix] Add default topsite 58 for MozillaOnline builds 3 years ago
Arturo Mejia 5ce4a31be5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21095 add customize home button on the home screen. 3 years ago
Gabriel Luong b057d6a76f [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21099 - Update items under "Jump back in" section to the latest designs 3 years ago
Christian Sadilek d4a454442b [fenix] Sort history metadata on home and allow limiting results 3 years ago
Mozilla L10n Automation Bot ae40da34f8 [fenix] Import l10n. 3 years ago
Michael Comella 5504314468 [fenix] No issue: add gve to setup-startup-profiling.py. 3 years ago
Michael Comella 9cefe650b3 [fenix] No issue: convert to argparse in setup-startup-profiling.py. 3 years ago
MickeyMoz 6231a51b06 [fenix] Update Android Components version to 94.0.20210914190126. 3 years ago
Michael Comella 535de74483 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20936: run perftests with conditioned profiles.
We've noticed that geckoview_example is ~300ms faster than fenix in cold page
load tests on arewefastyet for the Pixel 2. We suspect the main
difference is because geckoview_example runs with conditioned profiles
and fenix does not.

This PR is foremost an experiment to see if that's true because, after bug
1587542, we cannot run get results for fenix perftest PRs (i.e. it needs to be
merged into main). If we find that the results are not noisy, however, we
could end up leaving this in the tree. We've previously seen excessive
noise with fenix start up tests with conditioned profiles which is why
conditioned profiles are not currently enabled.
3 years ago
Mugurell b0957a77ae [fenix] For https://github.com/mozilla-mobile/fenix/issues/21120 - ImageLoader with a shimmer effect placeholder 3 years ago
AndiAJ ba70d609f1 [fenix] New deleteBookmarkInEditModeTest UI test 3 years ago
AndiAJ 9cf25c9c64 [fenix] Improve coverage for copyBookmarkURLTest 3 years ago
Mozilla L10n Automation Bot 42ddf1faa4 [fenix] Import l10n. 3 years ago
Elise Richards 1e1a52e6f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20654: Handle private mode switching from home behind search dialog.
Add tests for controller and interactor to handle private mode switches
3 years ago
Christian Sadilek 9a78d339b5 [fenix] Fix history metadata API breakage in unit tests 3 years ago
Jan-Erik Rediger 2ab11137aa [fenix] Ensure glean-native is excluded 3 years ago
Jan-Erik Rediger 3ea7d78268 [fenix] Use glean-native in tests
The Glean core native code is now shipped through GeckoView directly
(through its `-omni` packages).
For local tests we need a library matching the host-platform, which is
available in the glean-native package.
3 years ago
Christian Sadilek 2cb54965b1 [fenix] Update Android Components to 94.0.20210914144027 3 years ago
Rohan Maity 9bfba77957 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20634: remove some unused color resources 3 years ago
AndiAJ b1ee43a7ed [fenix] Improve coverage for addPrivateBrowsingShortcut Ui test 3 years ago
Arturo Mejia fc42d08c06 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18629: add support for SmartBlock exceptions 3 years ago
MickeyMoz 3c39fc243c [fenix] Update Android Components version to 94.0.20210913143315. 3 years ago
Arturo Mejia 5d55e07dd3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21226 only show the "Customize Home" menu on home screen. 3 years ago
Arturo Mejia ea5d0ee63d [fenix] For https://github.com/mozilla-mobile/fenix/issues/21211 hide the ETP in custom tabs. 3 years ago
MickeyMoz 17ea5eee59 [fenix] Update Android Components version to 94.0.20210912143220. 3 years ago
Mozilla L10n Automation Bot d7355dc309 [fenix] Import l10n. 3 years ago
MickeyMoz 9d41f7102e [fenix] Update Android Components version to 94.0.20210910190342. 3 years ago
Mozilla L10n Automation Bot 4ff053609b [fenix] Import l10n. 3 years ago