Deleting call log of a be number
<p>I am using the following code to delete a particular number from the call log, but it is not working on Android Marshmallow:</p>

<pre><code>String queryString = "NUMBER=" + number;
try {
    context.getContentResolver().delete(CallLog.Calls.CONTENT_URI, queryString, null);
} catch (Exception e) {
    e.printStackTrace();
}
</code></pre>

<p>How can I delete the call log on Android Marshmallow?</p>