robolectric/robolectric

No content provider for Telephony.Sms.CONTENT_URI

Open

#3,005 创建于 2017年3月31日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Java (5,755 star) (1,356 fork)batch import
help wanted

描述

Description

Android comes with SmsProvider, which is registered as the content provider for Telephony.Sms.CONTENT_URI. It's not present in Robolectric.

Steps to Reproduce

Call ContentResolver.query(Telephony.Sms.CONTENT_URI, ...)

Expected: Get a cursor Actual: Get null

Robolectric & Android Version

Robolectric 3.3, any Android version

贡献者指南

No content provider for Telephony.Sms.CONTENT_URI · robolectric/robolectric#3005 | Good First Issue