Samsung(dual sim) before offical android 6.0(not cm) device, I could get call logs with sim slot id, but Samsung(dual sim) android 6.0+ device I get an issue:
String slotId = cursor.getString(cursor.getColumnIndex(CallLog.Calls.PHONE_ACCOUNT_ID));
<i>slotId</i> = null; but in another device (Huawei mate 8) is work fine
Did samsung modify the com.android.providers.contacts and contacts2.db?
Can someone guide through the solution for this?