Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Wrong SIM storage

未关闭
#367 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
android, kotlin
领域
mobile

调研方向

The payload names no source files, so start from the app's SIM contact source selection in the Kotlin code and find where the SIM storage entry for a second SIM slot is chosen. The bug is that the SDN2 service-number storage is shown instead of the SIM's own contacts, which the reporter reproduces on Android 15 with a moto g15 power. Done means the SIM filter lists the card's contacts on that device, which needs a device or emulator with a second SIM slot to confirm, and the thread has no maintainer reply after 395 days.

由索引模型根据 Issue 内容生成。

描述

bug device/software specific
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.2.5

Affected Android/Custom ROM version

Android 15 (stock, no root, etc.)

Affected device model

moto g15 power

How did you install the app?

GitHub releases

Steps to reproduce the bug
  1. Have a phone with this issue.
  2. In Contacts (or Phone), tap the filter icon and select SIM contacts (SDN2 here).
Expected behavior

My contacts from SIM card should be displayed.

Actual behavior

My carrier's service numbers from SIM card are displayed.

Screenshots/Screen recordings

No response

Additional information

Just noticed that when I select SDN2 (Service Dialing Numbers?) - for the primary SIM slot and it's the only choice for SIM - I don't get my contacts from SIM card displayed, but "service numbers" instead, which is a separate, read-only storage, I think.

On Galaxy A12 everything works fine. SIM storage names are "primary.sim.account_name" (SIM1) & "primary2.sim.account_name" (SIM2).

Interestingly, Google Contacts also shows those service numbers from SIM, mixed with phone storage contacts.
However, under "Organize -> Manage SIM (Import or delete contacts from SIM)" it shows my SIM contacts instead.

I also installed "SIM Contacts" (com.midi.simcontacts) app and it correctly shows my SIM contacts on "SIM CONTACTS" tab, but both phone storage contacts + service numbers on "ALL CONTACTS" tab, just like Google Contacts.

"SIM Card Info" (me.harrygonzalez.simcardinfo) shows the correct entries, too.

Even *#*#4636#*#* -> Phone Information -> <three dots menu> -> View SIM Address Book = correct list.

So, it seems to be fixable, I hope.

主要语言
Kotlin
星标
917
派生
73
平均合并
2 天 2 小时
30 天内合并 PR
9

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FossifyOrg/Contacts 的其他 Issue

查看 FossifyOrg/Contacts 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。