Skip to content

Some Contacts are filtered out and some sources does not appear #261

Open
@andrew-2e128

Description

@andrew-2e128

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.1.0

Affected Android/Custom ROM version

Android 12

Affected device model

  • Realme 7 Pro (RMX2170)

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

I have no clue how it happened, but it happened on it's own in SMT contacts then still exists in fossify

Expected behavior

Contacts not being hidden

Actual behavior

  • Contacts are filtered out incorrectly but they are still stored

Screenshots/Screen recordings

No response

Additional information

I have tracked the issue down for a bit, basically this line filters the contacts by source

contacts.filter { contactSources.contains(it.source) }

the issue is sometimes the it.source is empty string and it filters for "Phone"

Metadata

Metadata

Assignees

Labels

bugSomething is not workingdevice/software specificIssues that only happen on some devices or with some specific hardware/software

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions