Commit Graph
248 Commits
Author SHA1 Message Date
AlexeyBarabash 127bf8eadd [cr146][Android] Upstream's cleanup at manage_sync_preferences.xml
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/df136265928cb56af0abb4b8fd1553f2504df07a

	[Signin][Android] Remove FirstRunSigninProcessor and related code

	We stopped writing FIRST_RUN_FLOW_SIGNIN_SETUP in 2022
	(https://crrev.com/c/3870839), so this code is not used anymore.

	Bug: 476062000
	Change-Id: Ia55eaee837c8166f39738ee95443f2f3af8fc457
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7485646
2026-02-26 13:47:45 +00:00
Artem Samoilenko a490d490c0 [cr143][Android] Changes for kLinkedServicesSetting disabled code
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/8e0ca53362ef330a49b98c7add3a7857fc82405e

commit 8e0ca53362ef330a49b98c7add3a7857fc82405e
Author: Martin Šrámek <msramek@chromium.org>
Date:   Tue Oct 7 11:40:45 2025 -0700

    Remove the kLinkedServicesSetting disabled code on Desktop and Android

    Since the feature has been launched.

    Apart from removing many references to the feature, flag, and tests, we're also adapting the ManageSyncSettings code from the previous approach (where the old strings were set in the XML file and the new strings programmatically overwritten in the Java code) to one where the strings are simply set in the XML file.

    We're not removing the equivalent codepaths on iOS, where it hasn't launched yet.

    Bug: 343132001
    Change-Id: I8b92689b67db9485e87dd99657a32f1601277553
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7006398
    Reviewed-by: Rainhard Findling <rainhard@chromium.org>
    Commit-Queue: Martin Šrámek <msramek@chromium.org>
    Reviewed-by: Marc Treib <treib@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1526439}
2025-11-18 11:18:49 -05:00
samartnik 851cdf1f34 [CodeHealth] Separate Brave-specific resources from Chromium overrides (#31571)
[Android] Separate Brave-specific resources from Chromium overrides
2025-10-02 08:50:51 -04:00
Brian Johnson 1f27a328c6 [Speedreader] Remove speedreader on android (#31418)
Remove buggy speedreader implementation on android
2025-09-29 11:52:46 +09:00
Oliver 5addb66841 [Android] Support import of passwords from CSV (#31056)
* [Android] Refactor PasswordSettings.java to use an XML layout file.

The PasswordSettings.java file now integrates with a new XML file that
contains the layout for the page. This modification was completed using
Cursor but does not appear to have introduced any breaks.

There should be no semantic changes caused by this commit and the Brave
Password settings screen should continue to function exactly as it did
prior to this commit.

* [Android] Introduce new Import/Export items to password manager menu.

The password manager dialog now features two items for export and
import. Prior to this commit, Export was hidden away in a small
drop-down menu accessible from the top-right of the screen.

The import item is also present, but non-functional in this commit.

* [Android] Implement importing passwords from CSV.

We now support importing a CSV file containing the user's passwords.
This commit builds upon its parent by implementing the necessary code to
call Chromium's password manager which is responsible for executing the
import.

Additionally, the icons in the password manager screen have been changed
to new ones taken from Google's Material UI icon set.

Localisation strings have been introduced - some of which are copied
from Google's base since, after discussion, this is the way we currently
make strings usable for Android. If this changes in future, these could
be de-duplicated. Translations into other languages are still necessary
since only English is implemented.

Closes brave/brave-browser#35729
2025-09-24 16:07:14 +02:00
Simone Arpe 673b2e1833 Implement new preference screen "Customize menu" (#31172)
The custom menu item preference screen follows the Figma design and is composed by two sections, Main menu and Page actions.

The screen shows only those items that are supported by the device, items that will never appear won't be shown.
Each item's visibility will default to true and each preference is saved on shared preferences.

The only two items whose visibility cannot be modified are the Main Settings item and the Custom Menu item itself.
2025-09-16 13:54:29 +02:00
Serg 1287169d1e Let users to display only one tiles row in in quick action search widget (#31111)
Let users to display only one tiles row in in quick action search
widget

There are cases on some devices where it is impossible to display
only one tiles row, it displays two right away.
Resolves: https://github.com/brave/brave-browser/issues/49110
2025-09-10 02:10:49 +09:00
Brian R. Bondy 24d9b92d6d Remove top sites suggestions provider (#31073)
The list was not updated nor maintained, and even had invalid entries.

On device which uses a local ML model was tied to this preference for some reason too, so that keeps the preference around and has a checkbox for just that now.

For Android, it doesn't support on device suggestions because the ML
models aren't available there, so no checkbox was added there.
2025-09-08 11:42:41 -04:00
Serg 965a2b137d Hit all 4 edges in quick action search widget (#31018)
Search only form should not hit top anb bottom but a view with top
tiles should hit all 4 edges.
Resolves: https://github.com/brave/brave-browser/issues/48943
2025-09-03 20:24:16 -04:00
samartnik 3b342ba258 [Android] Move Quick Shortcut setting to Appearance (#30936) 2025-08-29 14:39:46 -04:00
AlexeyBarabash 6f28f4e9aa [cr140][Android] sync: Add extensions checkbox to settings on desktop Android
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/2460bafb67b67c895e7eb21e63fcdfaac1bcfbf5

	sync: Add extensions checkbox to settings on desktop Android

	Support for extensions sync was recently added to desktop Android.
	Update the sync settings page to add a checkbox for the sync data
	type.

	      toggles sync data type in chrome://sync-internals

	Test: added to chrome_public_test_apk
	Test: manually verified checkbox appears on desktop Android and
	Test: manually verified checkbox does not appear on non-desktop Android
	Bug: 424217517
	Change-Id: Ifd6643e1d8b013e5d5383d21ef31a51863277650
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6652500
2025-08-19 19:54:17 +01:00
Szilard Szaloki d07fb818dc Brave Account section in Android settings. (#30354) 2025-07-31 15:31:35 -05:00
aseren 5652fe9124 [ads] Survey panelist: Android (#29360) 2025-06-04 09:04:47 -05:00
Simone Arpe 660020c778 Tweak background video playback description in flag page (#29207)
* Tweak background video playback description in flag page
* Remove redundant call to allow Javascript injection
The method `content::RenderFrameHost::AllowInjectingJavaScript()` is already called in
`background_video_playback_tab_helper` for those domains that correctly have a match so
it's not needed in `brave_browser_main_parts`.
* Fix boolean logic
* Make `IsBackgroundVideoPlaybackEnabled` method more readable
* Remove unneeded predefined default value from XML
* Refactor logic and remove old code
* Enable background video playback preference by default
* Remove unused constant
2025-05-29 11:33:22 +02:00
Artem Samoilenko 26550166f3 [Android] Main settings reorganisation
- Renamed `Autofill` section to `Passwords and Autofill`
- Moved `Brave Password Manager` and `Autofill services` to the new section
2025-05-15 13:44:41 -04:00
aseren 1ff768b451 [ads] Add New Tab Takeover Learn More link in settings (#28597) 2025-04-24 16:22:21 -05:00
Deep Pandya 1a08762a2d Add a separate target for quick search engine feature (#26478)
* Move java classes into brave/browser for quick_search_engines

* Move serach_engines resources to brave/browser/search_engines

* Add translations files for search_engines android string

* Add dimens

Add a function to load favicons

* Add close menu id for quick search

* Add missing deps

* Move quick search engines changes to brave/browser/quick_search_engines

* Remove comments for BUILD.gn
2025-04-23 17:00:28 -04:00
Deep Pandya 2cfff090f4 Update changes for always on to auto reconnect (#28615)
* Update changes for always on to auto reconnect

* ADd quotes to hightlight Block connections without VPN
2025-04-13 23:16:06 +02:00
Aleksei Khoroshilov 4bc5f98325 Fix xml license check (#28575)
* Fix xml license header check.

* Format.

* Update some license headers to match the required format.
2025-04-10 12:34:45 +07:00
Artem Samoilenko 152d7a4103 [Android] Additional improvements for bottom address bar
- Moved address bar to bottom on NTP
- Moved menu and updated menu icons and texts
- Added request for relaunch when bottom navigation controls are enabled
- UI and visual improvements
2025-03-27 09:11:22 -04:00
Jay Harris d8e73170c8 [Omnibox]: Hide OnDeviceHeadProvider suggestions when top suggestion are disabled (#28094)
* [Omnibox]: Hide OnDeviceHeadProvider suggestions when top suggestions are disabled

* Setup OnDeviceHeadModel
2025-03-24 09:33:38 +01:00
Deep Pandya 637c20608e Add an option to remove Leo from quick search engine bar (#28229) 2025-03-20 14:29:57 -04:00
Artem Samoilenko 37134ad086 [Android] Rename appearance settings resource
Chromium change:
https://chromium.googlesource.com/chromium/src/+/791fd6f95c875db2e132bee7f831563c690fe001

Add "Theme" settings menu option to new "Appearance" settings page.

This CL adds the "Theme" settings menu option to the new "Appearance"
settings page. In a follow up CL, a pref summary will be added as well.

Design: http://shortn/_oxzSbwNuTe

NO_IFTTT=New check

Bug: 397775252
2025-03-18 20:02:15 -04:00
Deep Pandya 83d7e13c44 Add an option to allow users to take screenshots in private mode (#28142)
* Add an option to allow users to take screenshots in private mode

* Update strings for settings option and format code

* Update title/description for private tab screenshot option
2025-03-17 16:57:44 -04:00
Deep Pandya f43c3e20b1 Move WDP settings (#27889)
* Move WDP settings from privacy to search engines

* Update privacy settings test
2025-03-03 15:15:07 -05:00
Darnell Andries cf94b54d8b Bootstrap Web Discovery Native, add credential manager and server config loading 2025-01-27 18:22:39 -08:00
SergandFrancois Marier 0fb665213a Adds a settings to show SafeBrowsing errors under Developer options on Android (#27333)
* Adds a settings to show SafeBrowsing errors under Developer options on Android

* Update browser/ui/android/strings/android_brave_strings.grd

Co-authored-by: Francois Marier <francois@brave.com>

* Fixes a header

---------

Co-authored-by: Francois Marier <francois@brave.com>
2025-01-24 10:35:03 -05:00
vadims 53b345a109 Warning text if the user has currently selected Block all cookies (#27090)
Warning text if the user has currently selected Block all cookies
(https://github.com/brave/brave-browser/issues/42295)
Webcompat Reporter: add cookie policy and script blocking to reports
(https://github.com/brave/brave-browser/issues/42062)
---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-01-10 13:49:10 +01:00
Jay Harris e1a3daade2 [AI Chat]: Android history setting (#26988) 2024-12-18 11:41:30 -07:00
AlexeyBarabash 81f1d6723c Removed Use Sync staging server at QA preferences (#26804)
This fixes CI build failure appeared at `v1.75.58` and resolved deps violation

Fixes https://github.com/brave/brave-browser/issues/42596
2024-11-29 14:50:25 -05:00
deeppandya 1e6253f314 Change QSE seetings position in search engines section 2024-11-14 00:16:37 -05:00
vadims 46d0345f2e Remember a user's contact information that they provide in a webcompat report and auto-fill it (#26286)
Remember a user's contact information that they provide in a webcompat report and auto-fill it
(https://github.com/brave/brave-browser/issues/40021)
---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2024-11-13 11:14:45 +01:00
deeppandya 5e53afeb05 Remove explicit this
Update hyphen text
2024-11-06 11:20:11 -05:00
deeppandya 1c4d4a3551 Refactor class names
Remove logs

Add new line for ic_microsoft_color icon
2024-11-06 11:20:09 -05:00
deeppandya affec58382 Resolve order issue with MAP
Resolve keyboard height issue

Update icons for bing and startpage

Update existing UI
2024-11-06 11:18:19 -05:00
deeppandya f9e229cefe Add changes for quick serach engines settings 2024-11-06 11:16:33 -05:00
deeppandya b03875b4fb Add quick search engines option in search engines page 2024-11-06 11:16:31 -05:00
Jagadesh P 2e337e7a4e [Android] Rename "show_undo_on_tab_closed" -> "show_undo_when_tabs_closed". 2024-10-21 00:00:39 -07:00
Jagadesh P 1773dacfbd [Android] Add an option Show/Hide Undo bar when tab[s] closed. 2024-10-21 00:00:34 -07:00
deeppandya 0ac02461db Update Setting UI for server selection option 2024-10-16 04:39:39 +05:30
AlexeyBarabash 987e4c3e47 [Android] Renamed prefs_section_autofill string
prefs_section_autofill => prefs_section_autofill_brave

to avoid conflict with the same name string from upstream

Related Chromium change:
https://source.chromium.org/chromium/chromium/src/+/69c3668404e465bab43d5e1f15861465aff2c32d

	[Android][3PPWM] Add sections for privacy and autofill

	With one more generic autofill option, the structure of basic and
	advanced sections in settings isn't a great fit anymore.
	Therefore, reorder the settings into new sections according to
	the mock below.

	Mock: http://screen/6etAMsTFjmydV9p.png
	Screenshot: http://screen/7wnaomW8yupXZao.png

	Fixed: 361733921
	Change-Id: I08a5bf310fb1fe673e65afe46fa358eabadc4565
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5809003
2024-10-03 17:06:23 +01:00
Serg 2c6bd81682 Removes Autofill service on Android 2024-10-01 17:21:13 -04:00
deeppandya 2deb854de7 Update title for serach suggestions
Add string for show search suggestions
2024-08-21 10:06:23 +05:30
Deep Pandya 4b7b76fd5b Merge pull request #25157 from brave/parallel_downloading_option_android
Parallel downloading option android
2024-08-19 00:07:36 +05:30
deeppandya 06513717c3 Add parallel downloading option 2024-08-16 01:56:17 +05:30
deeppandya e22594f8b1 Add an option for index other serach engines 2024-08-16 00:28:37 +05:30
vadimsandNuo Xu 43735ef5b2 Deprecate local node support and ipfs scheme (#23808)
deprecated IPFS local node support and IPFS scheme
https://github.com/brave/brave-browser/issues/37735
---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
Co-authored-by: Nuo Xu <nuoxu.nx@gmail.com>
2024-07-09 12:34:31 +02:00
deeppandya f51d01e660 ADdress PR comments with commented code 2024-07-04 02:03:15 +05:30
deeppandya 58d395b925 Migrate autocomplete option into search engines section 2024-07-04 01:08:26 +05:30
deeppandya 33114ab8bf Add serach suggestion UI
Add Ui resources
2024-07-04 01:08:05 +05:30