Search code examples
androidandroid-permissionscalllog

Difference between READ_LOGS and READ_CALL_LOG permissions of android


What is the difference between below 2 set of permission?

1)

<uses-permission android:name="android.permission.WRITE_CALL_LOG" />
<uses-permission android:name="android.permission.READ_CALL_LOG" />

2)

<uses-permission android:name="com.sec.android.provider.logsprovider.permission.READ_LOGS" />
<uses-permission android:name="com.sec.android.provider.logsprovider.permission.WRITE_LOGS" />

Solution

    • READ_CALL_LOG -- Allows an application to read the user's call log.
    • READ_LOGS -- Allows an application to read the low-level system log files

    The first one is mostly specific to phone calls, while the second one is for any and all usage of the device.