Commit Graph

4595 Commits (f68c56a7602baf0eacd97650d9a65f0dacea7b99)

Author SHA1 Message Date
Michael Comella d767cd199e For #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 42cca072e2 For #13959: remove resetAfter & port tests to StrictModeManager. 4 years ago
Michael Comella dd73cb628b For #13959: clean up existing StrictMode test names. 4 years ago
Michael Comella f19c9920f9 For #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 6abeb2d9e7 For #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 d4ab728cff For #14034: Add debug preference to override AMO collection in Nightly 4 years ago
Michael Comella a92356fe00 For #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 e1bd6191c7 For #13959: add comment to explain why we only resetAfter in certain build modes. 4 years ago
Michael Comella 3bf71ef655 For #13959: use ac StrictMode.resetAfter rather than duplicating functionality. 4 years ago
Michael Comella 2c1befaa25 For #13959: rename to attachListenerToDisablePenaltyDeath for clarity. 4 years ago
Michael Comella c03c7ef793 For #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 f05a542060 For #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 3983c509dc 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 d287e6e9e0 Import l10n. 4 years ago
mcarare daced89387 For #15310: Add test for ActivityNotFoundException when sharing to app. 4 years ago
mcarare 6289da892c For #15310: Also catch ActivityNotFoundException when sharing to app. 4 years ago
Abhijit Kiran Valluri bb00ebe80c
Merge pull request #159 from abhijitvalluri/mozilla_main
Merge latest mozilla master to fork + fix conflicts
4 years ago
interfect c5acf527f2
Die For Your RAM (#157)
* Add a setting to hide memory pressure from a-c

This adds a setting in "Customize" to fix
https://github.com/fork-maintainers/iceraven-browser/issues/115

* Drop trailing spaces
4 years ago
Abhijit Valluri 8d84ec8ef5 Merge branch 'mozilla_main' into fork 4 years ago
ekager 0d0a28d551 No issue: Update AC to 61.0.20200925190057 4 years ago
ekager 7d5c199e51 For #12383 #15407 #12860 - Switch to using shared view model for session to delete on home 4 years ago
Grisha Kruglov 2999f64d0a Closes #15434: Don't try to display a 'signed in' snackbar in a 'headless' mode 4 years ago
Grisha Kruglov d98eba1d64 Closes #15432: Invoke UI updates on main thread in response to account events 4 years ago
Grisha Kruglov 24985d54fa Closes #15436: Auto-close tabs during startup on the main thread 4 years ago
Christian Sadilek 81aaacda61 Configure M5 AMO collection for Nightly/Debug 4 years ago
mcarare cd53b8fdaf For #15130: Remove "what's new card" check in UI test. 4 years ago
mcarare 04e59e0ac5 For #15130: Remove "what's new card" from onboarding screen. 4 years ago
Mozilla L10n Automation Bot f32d2011df Import l10n. 4 years ago
Kate Glazko e8855c09e6 For #15320: Ensure Mimetype Other PDF Shows PDF Icon 4 years ago
Elise Richards 1adf467248
For #14280, #14743: Remove old search fragment (#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 add60611b4 For #15349: Fixes SyncedTabs suggestion not clicking 4 years ago
Grisha Kruglov f1b0827a0b For #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 4fad099b23 Import l10n. 4 years ago
Sawyer Blatz 0fa2509bef
For #14243: Pre-land visuals for Close Tabs CFR (#15171) 4 years ago
Grisha Kruglov 71b51146cb Update breaking changes in the FxA/Sync integration 4 years ago
Jocelyne d45e482373
For #11800: Hide reveal and clear password icons if the password is empty when editing a saved login (#15244)
Co-authored-by: Jocelyne Abi Haidar <jocelyne.abihaidar@gotocme.com>
4 years ago
Sebastian Kaspari 943455658b Issue #13270: Do not launch into Fennec's task anymore.
Initially we did this to avoid a duplicated task right after the migration from Fennec. We'd end up
with the original task from Fennec and the new one from Fenix; with the Fennec task still showing
Fennec in the app switcher, but launching Fenix once selected.

Anyhow, now on Android 11 this causes the Fenix task to get duplicated. The simple fix is to not
do any of that anymore. This may re-introduce the problem with the Fennec migration, but:
* We are at 100% rollout for quite some time. There are still users migrating, but the impact
  of the bug is much lower.
* The bug after the migration was only temporary. This bug here is happening every time you
  launch Fenix. So I'd rather fix this than a possible inconvenience right after the migration.
4 years ago
mcarare c1bf66618e #274-android-l10n: Update create account string to avoid partial translations. 4 years ago
Christian Sadilek 601e847094 Configure M4 AMO collection for all builds 4 years ago
person808 baccb153b7 For #15219 - Fix tab tray handle size.
Also use dimens for the tab history handle.
4 years ago
aprabhakara 657ce60f8d For #15262: Updated margins 4 years ago
ekager 24983af94e For #15291 - Limit current CFRs to show max one every 3 days 4 years ago
mcarare 94d9a2a1ed For #15263: Properly update open links in app preference. 4 years ago
ekager a9075ff87b For #15272 - Remove bottom margin for toolbar on enter fullscreen 4 years ago
ekager 030d6a5b36 For #15121 - Ensure tabs removed while on browser select an available parent session 4 years ago
mcarare e3b5dcbfec For #15268: Update unit tests for safe navigation to details fragment. 4 years ago
mcarare 896c1b7875 For #15268: Use safe navigation to addon details fragments. 4 years ago
Abhijit Valluri ea7c8255ae Merge branch 'fork' into mozilla_main 4 years ago
Oana Horvath 108666c277 Closes #14524, #12896, #13830: re-enabled strict ETP tests after code bug fix 4 years ago
Grisha Kruglov f51b570654 For #15284: Process root titles when creating new folders
This also simplifies how we do this. We're no longer creating instances of `DesktopFolder` class
nor creating copies of BookmarkNodes just to display root titles correctly for the 'edit folder' UI.
4 years ago
ekager f16ade33df For #15089 - Disable recently closed in multiselect 4 years ago
ekager b5f1e772bd For #15112 - Still show recently closed when history empty 4 years ago
Grisha Kruglov 5691088787 For #15286: Don't crash when separators are long-touched 4 years ago
Mozilla L10n Automation Bot c326be9fd3 Import l10n. 4 years ago
ekager 9a2103a9a7 For #13934 - Make TabHistory work on PWA/Custom Tabs 4 years ago
ekager 407c31fdb3 No issue: Fixes strict mode death in debug custom tab 4 years ago
ekager 9e876ebc44 For #14982 - Show snackbars with padding with static bottom toolbar 4 years ago
ekager 18ca211434 For #14458 - dismiss keyboard on fill link from clipboard 4 years ago
Mozilla L10n Automation Bot 7cad83f64b Import l10n. 4 years ago
ekager e162aefbc6 For #15245 - Remove margin for toolbar on toolbar-less PWA 4 years ago
Mozilla L10n Automation Bot 1f6a22a340 Import l10n. 4 years ago
Grisha Kruglov b7b3ee5ce6 For #2792: Display bookmark folders at the top of the bookmarks UI 4 years ago
Grisha Kruglov 078843675b For #15211: Make sure bookmarks are moved to the end of folders 4 years ago
Grisha Kruglov 027c1f9ea7 Closes #15206: Only track 'move' event if bookmark parent was changed 4 years ago
Grisha Kruglov b5b32ba6ea For #11502: Make sure to always process root titles for parent folders during edit
This also switches to a simpler bookmarks query API ('getBookmark') which doesn't fetch
children. We don't need 'children' for this dialog, and so don't need to do the extra work.
4 years ago
Grisha Kruglov 958474f9fb For #13157: Filter out folder being edited from 'select folder' dialog 4 years ago
Grisha Kruglov fe288edb5d Rename 'visitedAddBookmark' arg to a less confusing name 4 years ago
Grisha Kruglov 24de85f805 Remove unused nav arg from 'select folder' 4 years ago
Mozilla L10n Automation Bot af03b88f1e Import l10n. 4 years ago
Tiger Oakes b563576335
Closes #14131: Move constants to dimens.xml (#14135)
Co-authored-by: Elise Richards <erichards@mozilla.com>
4 years ago
Tom Klein dc9bc534db For #13300 - Adjust the 'Sharing a Collection' layout to prevent overlapping of the close icon and 'Share' label in RTL
Note that the "Share" title is still constrained to start at the end of the
close button - I don't know why the previous extra constraint was causing the
differing behavior in LTR and RTL, but this seems to fix it.
4 years ago
Elise Richards a4ff782565
For #13812: add ETP category for redirect trackers (#15139)
* Feature flag for ETP cookie purging

* Strings for new ETP description

* Remove icons from ETP info screeen and add category for redirect trackers

* ETP policy factory tests

* Remove icons from ETP panel and add cross tracking allowed field.

* Remove icons on ETP panel. Add blocked category for redirect trackers to panel.

* Add margins to tracking protection settings
4 years ago
Jeff Boek 6781018556 For mozilla-mobile/android-components#8429 - Dont initialize MLS if token is null 4 years ago
Jeff Boek 8bdc9d0431 Revert "For #12544 - Prevent search engines mixup"
This reverts commit 0a4a170f7e.
4 years ago
Hakkı Kaan Çalışkan 0afb7a3f25 For #13922: Add indicator to synced tabs suggestions in awesomebar 4 years ago
Jonathan Almeida d063cd5396 For #14230: Stop redrawing all top sites when one is removed 4 years ago
mcarare 5b33044999 For #12829: Add create account option on the the sign in screen. 4 years ago
mcarare 81985f4179 For #12829: Update addUnderline extension function to accept parameters. 4 years ago
Adam Novak 8418ecc176 Fix #131 by accepting -PversionName= again 4 years ago
mcarare cc9667f722 For #15150: Do not show open banner if open in app is ON in settings. 4 years ago
Mozilla L10n Automation Bot 80a573a62c Import l10n. 4 years ago
mcarare 79135b1df5 For #13943: Change strict mode penalty to penaltyDeath.
Also, keep dialogPenalty as replacement option for penaltyDeath.
4 years ago
Oana Horvath abe06da6e2 Closes #13829: Added idling resources to the addon details view" 4 years ago
interfect 0fd2cb2667
Merge pull request #127 from fork-maintainers/issues/111-change-appid
Change App ID for Iceraven rebranding
4 years ago
interfect 1b355a83b8
Merge pull request #128 from fork-maintainers/upstream-sync
Sync with Mozilla
4 years ago
Adam Novak 5ddce84b81 Settle on 'forkmaintainers' everywhere which Mozilla lint rules accept 4 years ago
interfect 8c3a419650
Add icon assets via AS "New->Image Asset" (#126) 4 years ago
Adam Novak bde8b72516 Merge remote-tracking branch 'upstream/master' into upstream-sync 4 years ago
Adam Novak 0b3963f687 Adjust package names in code 4 years ago
Adam Novak 5871e3ee23 Adjust build scripts and move code for appid change 4 years ago
interfect 08af6b6cca
Merge pull request #122 from fork-maintainers/upstream-sync
Sync with Mozilla's changes
4 years ago
mcarare f793c3a5f9 For #14727: Add content description to resync tabs button. 4 years ago
Sören Hentzschel 55b5a452d1 For #14933 - Fixed private browsing icon color in preferences fragment 4 years ago
Tiger Oakes b927b688c9 Merge bookmark item and folder view holders 4 years ago
Tiger Oakes 3059a57747 Change separator to use its own view holder 4 years ago
Elise Richards 9afe9679d8
For #15079: handle QR permissions when changed in Android settings (#15097)
* Define intent data for activity

* Search dialog shows permissions for allow and deny camera

* Check camera permissions for fxa pairing

* Check camera permissions for old search

* Tests for pairing sync interactor and controller.

* Cleanup

* Use bool pref for setting. Use interfaces and default implementations for the sync interactor and controller.

* Lint
4 years ago
Sawyer Blatz 8a81c1ee1d For #15123: Fix top sites text color 4 years ago
Sawyer Blatz 1f17371df6 For #14565: Add telemetry for top sites 4 years ago
Arturo Mejia 19f0c543fe Fix add-ons permissions breaking change 4 years ago
mcarare e5a9311613 For #15116: Also do not expand or set bottom toolbar behavior on TWA tabs. 4 years ago
mcarare 83478b9db4 For #15116: Do not set bottom toolbar behavior on PWA tabs. 4 years ago
mcarare c5a2e2e5a0 For #15116: Do not expand toolbar on PWA tabs. 4 years ago
mcarare 1f004aff8c For #15116: Use safe cast for layout params. 4 years ago
Sebastian Kaspari ee3384ac52 Issue #14225: Remove task when finishing ExternalAppBrowserActivity. 4 years ago
Adam Novak c2b9882b31 Merge remote-tracking branch 'upstream/master' into fork 4 years ago
interfect ad68fdcb26
Rebrand README and app strings to Iceraven Browser (#121)
* Rebrand README and app strings to Iceraven Browser

* Update all the README URLs for new repo location
4 years ago
Mozilla L10n Automation Bot f036d3db67 Import l10n. 4 years ago
Abhijit Kiran Valluri df9d8bceae
Create github actions for Continuous Integration! (#116)
* Add github actions workflows

* Add github actions for CI

* Fix lint and detekt errors

* Add caching to the github actions

* Add the workflow statuses to the README

* Give the jobs more descriptive names

* Consolidate github actions workflows to a single workflow

* Give the steps meaningful names, save detekt and lint results
4 years ago
Mozilla L10n Automation Bot f6684862a4 Import l10n. 4 years ago
Hakkı Kaan Çalışkan f87ca730a9 For #11245: Integrate Synced Tabs AwesomeBar suggestions
fix pr
4 years ago
bbigam 77a0a11153
Update wordmark banner for Iceraven branding (#110)
* add info for scaling of wordmark files

* fix typo

* Iceraven banner

* Iceraven banner

* Iceraven banner

* Iceraven banner

* Iceraven banner

* Delete ic_logo_wordmark_normal.png

we don't need this in root, only in fork-asset-sources

* Delete ic_logo_wordmark_private.png

we don't need this in root, only in fork-asset-sources

* upload XCFs for Iceraven rebranding

These could easily be edited in the future to add a logo, for example. See details in wordmark_dpi file.
4 years ago
Abhijit Kiran Valluri 8866eb3801
Fix the 5 failing tests (#109)
* Fix all 5 failing tests

* Add Travis CI build status to README file

* Ignore an intermittently failing test, update travis config to not ignore failures
4 years ago
mozilla-l10n-automation-bot 2059156193
Import l10n. (#15099) 4 years ago
Jeff Boek c632b6b0a1
For #15007 - Puts swipe to delete behind a feature flag (#15009) 4 years ago
Mozilla L10n Automation Bot 0a8b9e378c Import l10n. 4 years ago
codrut.topliceanu b892af773e For #14546 - Speculative fix for ANR 4 years ago
Abhijit Valluri 0f8fd0c10f Enable pull to refresh feature 4 years ago
Nikita Epifanov 3c0a8bcee9 Update static_strings.xml 4 years ago
Nikita Epifanov 0c536c4e3a Update static_strings.xml 4 years ago
Nikita Epifanov f32041966f Update strings.xml 4 years ago
Nikita Epifanov f3f28847a5 Update strings.xml 4 years ago
Nikita Epifanov c56f0e3346 Add Russian static_strings.xml 4 years ago
Abhijit Valluri 480d29765f Fix build.gradle to add a non-null version name 4 years ago
Abhijit Valluri 3618830001 Properly incorporate upstream fixes in tabs tray component 4 years ago
Abhijit Valluri 48ea10cd9d Merge remote-tracking branch 'mozilla/master' into fork 4 years ago
Gabriel Luong 05857ba55d For #14145 - Add pinned badge for pinned sites 4 years ago
Mugurell 75aa2d413a For #14974 - Ensure website bottom elements stay at bottom
engineView.setDynamicToolbarMaxHeight(0) vs
engineView.setDynamicToolbarMaxHeight(toolbarHeight)
ensures webpage's bottom elements are aligned to the bottom of the browser.

We also need to make sure that when the toolbar is static it does not cover the
bottom of the page - something desired when the toolbar was dynamic.
For this the engineView will have a toolbarHeight bottom margin.
4 years ago
codrut.topliceanu b5cf484360 For #14559 - Persist searchFragment keyboard status 4 years ago
Elise Richards 4afaf34a78
Access shared prefs in fxa pairing (#14997) 4 years ago
Jeff Boek 79180250ea For #14283 - Fixes overlapping search suggestions and hint 4 years ago
ekager 09fbb43f80 For #2486 - Adds Recently Closed Tabs 4 years ago
codrut.topliceanu cce58e7d51 For #14725 - Resize search engine radio button 4 years ago
ekager b986730031 No issue - Updates AC to 58.0.20200910190642 and fixes imports 4 years ago
Mugurell b54949e58f
For #14902 - Disabling bottom toolbar animation now works (#14927) 4 years ago
Jeff Boek f9b2d65993 For #5745 - Create preference to disable domain autocompletion 4 years ago
Mozilla L10n Automation Bot 8e7d10c33c Import l10n. 4 years ago
Elise Richards 87bd44145f
For #14239: Notification for QR scan when permissions have been denied (#14553)
* Show dialog when permissions are denied

* Add qr permissions dialog to search dialog fragment

* Add qr permissions dialog to the pairing screen

* Show dialog after permissions have been denied

* Reset focus after denying permissions

* Show dialog after permissions denied in search frag and par frag

* Use shared preferences to store camera permission state

* Move dialog creation into the search controller and add tests

* Dialog controller implementation and test

* Route to intent with correct activity. Set focus when dismissing dialog

* Get preferences in old search
4 years ago
Abhijit Kiran Valluri b0729f655c
Fix #14950 - Make the "Add new tab" button visible in private mode on light theme (#14951) 4 years ago
bbigam 50d5c26d1b
Update RemoteMessage.java 4 years ago
bbigam 4e9220e843
Update FirebaseMessagingService.java 4 years ago
bbigam f37b205f91
Update GooglePlayServicesRepairableException.java 4 years ago
bbigam 26782a0aac
Update GooglePlayServicesNotAvailableException.java 4 years ago
bbigam 6676134729
Update AdvertisingIdClient.java 4 years ago
bbigam 39dfdca3b3
Update OnAttributionChangedListener.java 4 years ago
bbigam 0fff2abfbf
Update LogLevel.java 4 years ago
bbigam 0cfbf2f4d2
Update AdjustConfig.java 4 years ago
bbigam 9955aeb44a
Update AdjustAttribution.java 4 years ago
bbigam 405e6a40d1
License 4 years ago
Mugurell a6a50d78e0 For #14903 - Prevent BrowserFragment's view leak 4 years ago
Oana Horvath 2e38635781 For #13829: Disables verifyAddonsCanBeUninstalled UI test 4 years ago