AlexeyBarabash
37cd633f0d
Fixed presubmit warning: Non-public, non-static field names start with m.
2025-06-11 17:07:23 -04:00
AlexeyBarabash
cda1a14a7c
[cr138][Android] Fixed FieldCanBeFinal Prone checks
...
This is an automated change, made by set
`ERRORPRONE_CHECKS_TO_APPLY = ['FieldCanBeFinal']`
at `src/build/android/gyp/errorprone.py` and run the build with --offline flag
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/4f7d0b80759a7fd39de219f56984ec686d7aa257
Android: Enable Error Prone checks: FieldCanBeStatic, FieldCanBeFinal, FieldCanBeLocal
Leaves FieldCanBeStatic off in tests, since it's arguably nicer to use
non-statics in test classes for expected values.
Bug: 40661145
Change-Id: I9fdbc6ebed5a6aa98f435dfeccb074715531be16
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6543826
2025-06-11 17:07:23 -04:00
Artem Samoilenko
99dccbbd25
[Android] Delete legacy pref from safe browsing preferences
...
Chromium change:
https://github.com/chromium/chromium/commit/a4df3e7c3289f5098ee86d78e8c593955384aa88
[Managed prefs] Delete legacy pref from some screens
Those were left-overs from crrev.com/c/4427754, which are no longer
needed.
Fixed: 1432713
Bug: 1432713
2023-05-15 11:02:32 -04:00
Simone Arpe
39cf09370b
Fix copyright header ( #18011 )
...
Replaces `http` protocol with `https` in the copyright header for Java and XML files.
2023-04-12 15:10:02 +02:00
Artem Samoilenko
0a1b03a6b4
[Android] Changes for safe browsing prefs
...
Chromium change:
https://github.com/chromium/chromium/commit/b996aaa8a62c2538eaca81bbcc8bcb557dfd5300
[Managed prefs] Reuse highlight managed pref for Safebrowsing settings
This CL changes Safe Browsing settings to use the new UI for managed
preferences according to: go/clank-metricsreportingenabled-ui-review
(slide 12 is the most useful for this CL).
This reuses layout managed_disclaimer_preference_for_radio_groups.xml
that is also used for Preload pages settings, which has a similar
format.
Screenshots:
- Safe Browsing settings: https://drive.google.com/corp/drive/u/0/folders/1CwCB5JoBBru_zANYQXdcmONDZHsYHM4f
- More screenshots: https://drive.google.com/corp/drive/u/0/folders/1CivwmfuvUf0ue5UOk2BW5UbKOrjEZrOY
Bug: 1356748
2022-12-15 14:18:50 -05:00
samartnik
35787bae8c
[Android] Fixed summary for Safe Browsing no protection option
2021-07-12 14:06:47 -04:00
AlexeyBarabash
009687b6fd
Eliminating brave_browser_safe_browsing_android_sources patch
2021-05-05 13:20:49 +02:00
mkarolin
48f940118c
[Android] SafeBrowsingEnhancedProtection flag has been removed.
...
Chromium change:
https://chromium.googlesource.com/chromium/src/+/e468da6e701cc0c0a55778ba13e934a5539e16b1
commit e468da6e701cc0c0a55778ba13e934a5539e16b1
Author: Xinghui Lu <xinghuilu@chromium.org >
Date: Wed Mar 24 22:45:50 2021 +0000
Remove the SafeBrowsingEnhancedProtection flag.
Enhanced protection is launched since M86.
Bug: 1097310
2021-05-05 12:24:41 +02:00