I used to have call persmissions in my app manifest but I recently removed them all. I changed my ACTION_CALL intents for ACTION_DIAL which isn't supposed to ask for any permission. The thing is that the app is still asking for those permissions... So, why could be this happening?
Thanks in advance
EDIT: I've added some code:
Basically this is my AndroidManifest.xml
structure:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.my.app" >
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity>
(...)
</activity>
<receiver >
(...)
</receiver>
<activity >
(...)
</activity>
<activity>
(...)
</activity>
</application>
</manifest>
And the source code I've changed in order to avoid using any permission:
_call.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
if (_phone.getText().length() != 0) {
String uri = "tel:" + _phone.getText();
Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse(uri));
startActivity(intent);
}
}
});
I don't know what logcat would be useful for, cause the "error" is that the app ask for the permission when I'm going to install it, not when it is running