Skip to content

Handle missing contacts provider gracefully when loading avatars#754

Open
striker314 wants to merge 1 commit intoFossifyOrg:mainfrom
striker314:fix-missing-contactsprovider-avatar-fallback
Open

Handle missing contacts provider gracefully when loading avatars#754
striker314 wants to merge 1 commit intoFossifyOrg:mainfrom
striker314:fix-missing-contactsprovider-avatar-fallback

Conversation

@striker314
Copy link
Copy Markdown

@striker314 striker314 commented Apr 14, 2026

Type of change(s)

  • [ o ] Bug fix

What changed and why

App is throwing these errors:

Failed to find provider info for org.fossify.commons.contactsprovider

Right when that happens, Fossify also starts spamming Glide image-load failures in the same area of the log, which looks like contact/avatar loading is failing while the thread view opens.

The contacts provider authority does not seem to be registered in the app, so we should gracefully handle when it is not.

Tests performed

Built and installed onto S25 Ultra:

One UI: v8.0
Android: v16

Closes the following issue(s)

Does not address reported issues. Was hopeful this would resolve issues/204, but the java exception popup still happens. Will continue to debug and provide further code changes if possible to continue chasing that issue.

  • Closes #

Checklist

  • [ o ] I read the contribution guidelines.
  • [ o ] I manually tested my changes on device/emulator (if applicable).
  • I updated the "Unreleased" section in CHANGELOG.md (if applicable).
  • [ o ] I have self-reviewed my pull request (no typos, formatting errors, etc.).
  • [ o ] I understand every change in this pull request.

@striker314 striker314 requested a review from naveensingh as a code owner April 14, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant