我已经检查了android-9的changelog,正确地处理了calllog权限,我从清单中附上了我的权限,并提出了这个问题。我的应用程序也正确地获取了运行时权限。我还在设备的设置中检查了一下。)); String date = cursor.getString(cursor.getColumnIndex(
如果我尝试查询CallLog.Calls,有时在某些设备上会收到RuntimeException。我用contentProvider查询CallLog.Calls以获取最后一个调用。ContentProviderNative.java:358)我查询CallLog的代码是:Cursor c = context.