Files
brave-core/android/java
Serg e9ae9e7377 [Android] Fix stale verified publisher checkmark on tab switch (#34449)
The verified publisher checkmark could persist when switching tabs
because brave:// URLs were not treated as internal URLs and
OnPanelPublisherInfo silently dropped null publisher info without
notifying the Java layer.

- Treat brave:// URLs as internal alongside chrome:// so they
  clear the checkmark instead of querying getPublisherInfo.
- Notify Java with an empty publisher ID when OnPanelPublisherInfo
  receives null info, so the UI clears stale state.
- Reset the checkmark immediately in didSelectTab as a safety net
  before the async publisher query completes.

Resolves: https://github.com/brave/brave-browser/issues/53332
2026-03-04 20:59:29 -05:00
..