Commit Graph

5160 Commits (9e4dfdf37c1930dcbc0ede3c234b2d45e085dde1)
 

Author SHA1 Message Date
ekager 1429c5ddaf [fenix] For https://github.com/mozilla-mobile/fenix/issues/15324 - Show tab settings and recently closed items in menu when no tabs 4 years ago
ekager 8caf149ab7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15503 - Change recently closed max to 10 4 years ago
TrianguloY 98f8f3b2ca [fenix] For https://github.com/mozilla-mobile/fenix/issues/13856 - Prevent overscroll in swipe to switch tabs gesture 4 years ago
Tiger Oakes 5a3b5af7d9 [fenix] Extract locale settings initial state 4 years ago
Tiger Oakes be11bfd5b4 [fenix] Add test for initial logins list state 4 years ago
Tiger Oakes e4bdd355d3 [fenix] Add tests for initial collection creation state 4 years ago
Sören Hentzschel ac1a2a708a [fenix] For https://github.com/mozilla-mobile/fenix/issues/11561 - changed inactive heading and menu icon color in dark mode 4 years ago
Mozilla L10n Automation Bot 87ecdf8bfb [fenix] Import l10n. 4 years ago
Tiger Oakes b55c4af6fb [fenix] For https://github.com/mozilla-mobile/fenix/issues/12565: Pass bookmark storage to controller 4 years ago
Tiger Oakes 966e13c9aa [fenix] For https://github.com/mozilla-mobile/fenix/issues/12565: Pass metrics to share controller 4 years ago
Michael Comella a50cf27648 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: fix startup crash by using arg Context.
The `context` member function returns null in attachBaseContext so we
need to use the Context that's being attached instead.
4 years ago
Michael Comella 53bd004f55 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: remove resetAfter & port tests to StrictModeManager. 4 years ago
Michael Comella d0fbe70f10 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: clean up existing StrictMode test names. 4 years ago
Michael Comella 8a9472e540 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: move resetAfter into StrictModeManager.
In a followup PR, we need to add state to strictModeManager (the
number of suppressions). This is much simpler to do when this is defined
as a class rather than an object. However, when this is defined as a
class, `resetAfter` needs access to the strictModeManager. Instead of
passing it in as an argument, it made sense to move this function onto
the strictModeManager instead.

Since folks are used to calling:
```
StrictMode.ThreadPolicy.allowThreadDiskReads().resetAfter
```

We're going to have to add a lint check to prevent them from doing that.
4 years ago
Michael Comella 5f8943f76c [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: change StrictModeManager to class from object.
I originally tried to create this PR leaving this as an object to keep
the change simple but it wasn't worth it - once the object started to
keep state, we'd need to manually reset the state between runs. Also,
the tests were already getting hacky with static mocking so it was
easier to address some of those issues this way too.
4 years ago
Christian Sadilek 76018e2fe0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/14034: Add debug preference to override AMO collection in Nightly 4 years ago
Michael Comella 9e86e369b6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: comment about duplication in logic in StrictMode.
I had to drop a commit that addressed the issue because it was too hard
to fix.
4 years ago
Michael Comella 394465e33e [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: add comment to explain why we only resetAfter in certain build modes. 4 years ago
Michael Comella c1aa8d396a [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: use ac StrictMode.resetAfter rather than duplicating functionality. 4 years ago
Michael Comella b2c01e442f [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: rename to attachListenerToDisablePenaltyDeath for clarity. 4 years ago
Michael Comella 1ec45f33a2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: remove unused penaltyDialog parameter.
Additional branching introduces complexity so we should avoid it when
possible. This branch was also unused so it's more likely to have bugs
if we tried to use it after some refactor.
4 years ago
Michael Comella 3b76f2b3fc [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: always enable detectNonSdkApiUsage.
We don't use penalty death for the VM policy so we theoretically don't
need to disable this check if penalty death is enabled.
4 years ago
Sebastian Kaspari eca2b8ecf4 [fenix] Use "undo" implementation from Android Components.
This is not the super fancy version yet - since we still need to restore into SessionManager and
haven't fully switched to BrowserStore yet. However AC having knowledge about "undo" and whether
it was performed or not, will help us with features like "recently closed tabs". And once we
can improve "undo", Fenix will get all the nice things automatically.

Requires:
https://github.com/mozilla-mobile/android-components/pull/8449
4 years ago
Mozilla L10n Automation Bot 788b5bb21e [fenix] Import l10n. 4 years ago
mcarare 3ede6cf544 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15310: Add test for ActivityNotFoundException when sharing to app. 4 years ago
mcarare 9d9d283dc7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15310: Also catch ActivityNotFoundException when sharing to app. 4 years ago
Johan Lorenzo 98aa5bafd0 [fenix] Bug 1667367 - Change nightly schedule to align with GV and AC nightlies
Fixes https://github.com/mozilla-mobile/android-components/pull/8508
4 years ago
ekager b276e9daca [fenix] No issue: Update AC to 61.0.20200925190057 4 years ago
ekager cf0af49d3b [fenix] For https://github.com/mozilla-mobile/fenix/issues/12383 https://github.com/mozilla-mobile/fenix/issues/15407 https://github.com/mozilla-mobile/fenix/issues/12860 - Switch to using shared view model for session to delete on home 4 years ago
Grisha Kruglov c348e03d0e [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/15434: Don't try to display a 'signed in' snackbar in a 'headless' mode 4 years ago
Grisha Kruglov a0189c8080 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/15432: Invoke UI updates on main thread in response to account events 4 years ago
Grisha Kruglov 5bb231cc70 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/15436: Auto-close tabs during startup on the main thread 4 years ago
Aaron Train a2030dde22 [fenix] No issue: Update Flank to v20.09.3 (https://github.com/mozilla-mobile/fenix/pull/15399) 4 years ago
MickeyMoz 96b7e49f80 [fenix] Update Android Components version to 61.0.20200925130131. 4 years ago
Christian Sadilek 146aa075dd [fenix] Configure M5 AMO collection for Nightly/Debug 4 years ago
mcarare c5c3b6549d [fenix] For https://github.com/mozilla-mobile/fenix/issues/15130: Remove "what's new card" check in UI test. 4 years ago
mcarare 1d7b1df0e0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15130: Remove "what's new card" from onboarding screen. 4 years ago
Mozilla L10n Automation Bot 8774b36f49 [fenix] Import l10n. 4 years ago
Kate Glazko 739a3520e1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15320: Ensure Mimetype Other PDF Shows PDF Icon 4 years ago
Elise Richards 609857c5f1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/14280, https://github.com/mozilla-mobile/fenix/issues/14743: Remove old search fragment (https://github.com/mozilla-mobile/fenix/pull/15169)
* Remove search fragment

* Use new folder to search dialog

* Rebase and lint

* Update tests with search dialog nav directions

* Rename interactor to match naming convention. Remove old controller and point everything to the dialog controller.
4 years ago
Jonathan Almeida 2ab099b37b [fenix] For https://github.com/mozilla-mobile/fenix/issues/15349: Fixes SyncedTabs suggestion not clicking 4 years ago
MickeyMoz fbe9ec094c [fenix] Update Android Components version to 61.0.20200923190103. 4 years ago
Michael Comella 4ac309f013 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15273: add warnings about codeowners; add perf team as CODEOWNERS owner. 4 years ago
Michael Comella e78c0aad23 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15273: fix suspected syntax errors in code owners.
I validated the paths used using a technique in this blog post:
http://www.benjaminoakes.com/git/2018/08/10/Testing-changes-to-GitHub-CODEOWNERS/

So the syntax error(s) are likely within the names, such as this
example.
4 years ago
Grisha Kruglov bc90bd2f31 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15296: Allow excluding bookmark subtrees when editing parent folder
I'm really not a fan of how title overwriting and structure processing are mangled together,
but will leave clearing that up for another day.
4 years ago
Mozilla L10n Automation Bot fdb3d6c013 [fenix] Import l10n. 4 years ago
Sawyer Blatz 9d49be285c [fenix] For https://github.com/mozilla-mobile/fenix/issues/14243: Pre-land visuals for Close Tabs CFR (https://github.com/mozilla-mobile/fenix/pull/15171) 4 years ago
Grisha Kruglov cc9268d292 [fenix] Glean docs update 4 years ago
Grisha Kruglov 857d6a5f14 [fenix] Update A-C Version 4 years ago
Grisha Kruglov 661a48a940 [fenix] Update breaking changes in the FxA/Sync integration 4 years ago