Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google play warns about added permission 'android.permission.READ_CALL_LOG'

Tags:

android

I've just tried to submit a new version of my app without any changes in the permissions. However, google play's upload apk tells me that I've added the permission 'android.permission.READ_CALL_LOG', which I didn't. These are currently my permissions:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>

Any ideas what the reason could be for this? (I don't want to add a new permission, my users don't like that very much)

like image 488
alvi Avatar asked Oct 18 '12 20:10

alvi


1 Answers

I had this:

<uses-sdk
    android:minSdkVersion="11"
    android:targetSdkVersion="14" />

Which led to that in aapt dump badging:

uses-permission:'android.permission.READ_CALL_LOG'
uses-implied-permission:'android.permission.READ_CALL_LOG','targetSdkVersion < 16 and requested READ_CONTACTS'

Then I changed it to that:

<uses-sdk
    android:minSdkVersion="11"
    android:targetSdkVersion="16" />

Now the implied permission went away.

like image 127
cimnine Avatar answered Nov 02 '22 19:11

cimnine