Commit Graph

7435 Commits (a5540a0b318dfc2b7a283c1c9a11c026210ee8a2)
 

Author SHA1 Message Date
Gabriel Luong d9847f9525 For #21408 - Pass the corresponding HistoryMetadataKey to openToBrowserAndLoad and addTab use case 3 years ago
Gabriel Luong 2ae7d5d593 For #20893 - Search term groups in history 3 years ago
AndiAJ 391ff6b5fd Exit onboarding tour UI tests 3 years ago
Mozilla L10n Automation Bot a42ca16167 Import l10n. 3 years ago
Michael Comella 3ab1ca8321 For #21126: process performancetest intent for AC too. 3 years ago
rayanHappy 6a3b9c4b8f Fix QR scan button not showing up when choosing a RTL language 3 years ago
Arturo Mejia 3272de1364 For #21239 add telemetry for Allow users to customize their home screen 3 years ago
Christian Sadilek 6f7f284b55 Make sure to only record view time once for a given tab access
Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
3 years ago
MickeyMoz c71467f745 Update Android Components version to 94.0.20210921143125. 3 years ago
Mozilla L10n Automation Bot e00079aeaf Import l10n. 3 years ago
Elise Richards 368d8cc214 No issue: remove escape chars on add logins string 3 years ago
Grisha Kruglov b7b8de1c2f Use UpdateUrlAction to record viewTime observations
We discovered that in a tab restore scenario we were recording view time
observations that were wrong - we'd record time deltas as-if user was
looking at the page while the browser wasn't running.

This happens because when we record a viewTime observation, we compare
current time with lastAccess time of the tab. In a restore scenario,
that lastAccess time happens to be from when the browser was last
running - which could be days ago.

The simplest solution was to not record a viewTime observation if the
url for a tab didn't change during a load event. To achieve this, we
needed to change which action we were using as a proxy for "navigation
events" - UpdateUrlAction contains the new url, allowing us to compare
against the current tab url.

Alternative solutions would be to keep using loading actions, but
dispatch a lastAccess event before performing a metadata update. This
would have worked, but would result in two lastAccess events being
dispatched for each navigation event instead of just one.
3 years ago
Elise Richards b56d8ff545 For #21337: rename recently saved section on home 3 years ago
Christian Sadilek 16085b9008 Closes #21388: Only parse clipboard content when search fragment is attached 3 years ago
Jonathan Almeida e9434a5b11 Close #21366: Fix intermittent test failure in TitleHeaderBindingTest 3 years ago
AndiAJ d4ce149c3e Improve coverage for verifyAboutFirefoxPreview 3 years ago
Mozilla L10n Automation Bot f4397cc85e Import l10n. 3 years ago
MickeyMoz 7291c39941 Update Android Components version to 94.0.20210919202539. 3 years ago
MickeyMoz 609a46b6fd Update Android Components version to 94.0.20210919143155. 3 years ago
Mozilla L10n Automation Bot 65dd9cb079 Import l10n. 3 years ago
MickeyMoz 1e3adbcf33 Update Android Components version to 94.0.20210917190109. 3 years ago
Mozilla L10n Automation Bot a455116d2c Import l10n. 3 years ago
Michael Comella 7232fedb20 For #21296: add ProfilerMarkers.addForDispatchTouchEvent. 3 years ago
Michael Comella bb632c7b3b For #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 d67bd65f19 For #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 f8a4113271 For #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 872263cf2d Update tabs tray title header string comment to clarify what it does. 3 years ago
Michael Comella a3d3519e68 Closes #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 b3f5c87585 for a prior attempt to
address the intermittents in this class.
3 years ago
Jonathan Almeida bc7f5d80df Issue #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 6ac10d5209 Issue #21291: SearchDialogFragment: Get URL from clipboard once and not for every state update 3 years ago
Roger Yang fc18fd2520
For #21236: Separate tabs with the same search term into a different section (#21177)
* For #21236: Separate tabs with the same search term into a different section in tabs tray

* Issue #21236: Scroll to selected tab + various tab fixes for groupings

* Issue #21236: Fix failing test

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
3 years ago
MickeyMoz 0b18d04a23 Update Android Components version to 94.0.20210916214430. 3 years ago
Mozilla L10n Automation Bot 030f7d0d44 Import l10n. 3 years ago
Arturo Mejia 19ed21c70b Update strings comments 3 years ago
Michael Comella e6560c229d For #21309: add profiler markers on global layout. 3 years ago
Michael Comella cafc23acb1 For #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 c251e4c5ab For #21309: remove outdated comment regarding async nav graph. 3 years ago
Aaron Train 6fbeff1ca1
Closes #21340: Disable auto Google login in Flank config (#21341) 3 years ago
Michael Comella 83bd2f2254 Closes #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 e6395bff97 Add default topsite 58 for MozillaOnline builds 3 years ago
Arturo Mejia 4e846b3cb6 For #21095 add customize home button on the home screen. 3 years ago
Gabriel Luong 66a31ddbfc Issue #21099 - Update items under "Jump back in" section to the latest designs 3 years ago
Christian Sadilek 2a92bd5942 Sort history metadata on home and allow limiting results 3 years ago
Mozilla L10n Automation Bot 1732b9e087 Import l10n. 3 years ago
Michael Comella aaa14a8208 No issue: add gve to setup-startup-profiling.py. 3 years ago
Michael Comella 0201120c61 No issue: convert to argparse in setup-startup-profiling.py. 3 years ago
MickeyMoz 8cd4db6762 Update Android Components version to 94.0.20210914190126. 3 years ago
Michael Comella 9c97f7c6b6 For #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 a54a4ea20a For #21120 - ImageLoader with a shimmer effect placeholder 3 years ago
AndiAJ abc881f9f8 New deleteBookmarkInEditModeTest UI test 3 years ago