Files
brave-core/script
AlexeyBarabash d2c91e9eb1 Fixed CheckSettingsChanges presubmit function (#34666)
* Fixed `CheckSettingsChanges` presubmit function

There were two problems:
1. Somehow the `registry_full_path` misses segments `chrome` and
   `android` when accessing `SearchIndexProviderRegistry.java`, so
   it is
   `.../brave-browser/src/java/src/org/chromium/chrome/browser/settings/search/SearchIndexProviderRegistry.java`
   instead of an actual
   `.../brave-browser/src/chrome/android/java/src/org/chromium/chrome/browser/settings/search/SearchIndexProviderRegistry.java`
   which causes the registry not being read
2. `input_api.ReadFile` could not read outside of repo root which
   is `brave-browser/src/brave` so it could not read `SearchIndexProviderRegistry.java`

Fixed both with patching or chromium_presubmit_overrides.py

Resolves https://github.com/brave/brave-browser/issues/53560
2026-03-20 16:35:51 +02:00
..