title: Permission Denial: requires android.permission.READ_PHONE_STATE
body: <p>I'm trying to detect phone calls in my android app but I receive the following message when receiving a call:</p>
  
  <pre><code>08-23 15:16:04.685  Vodafone VFD 600    Warning 850 BroadcastQueue  Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to com....LogCalls requires android.permission.READ_PHONE_STATE due to sender android (uid 1000)
  08-23 15:16:04.549  Vodafone VFD 600    Warning 850 BroadcastQueue  Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to com....LogCalls requires android.permission.READ_PRIVILEGED_PHONE_STATE due to sender android (uid 1000)
  </code></pre>
  
  <p>My AndroidManifest.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com...." android:installLocation="preferExternal"&gt;
      &lt;uses-sdk android:minSdkVersion="15" android:targetSdkVersion="27" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /&gt;
    &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
    &lt;uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" /&gt;
      &lt;application android:label="myapp" android:icon="@drawable/logo"&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>And my broadcast receiver:</p>
  
  <pre><code>[BroadcastReceiver]
  [IntentFilter(new[] {TelephonyManager.ActionPhoneStateChanged,Intent.ActionNewOutgoingCall })]
  public class LogCalls : BroadcastReceiver
  {
      public override void OnReceive(Context context, Intent intent)
      {
          if (intent.Action == TelephonyManager.ActionPhoneStateChanged)
          {
              Console.WriteLine("state changed");
          }
      }
  }
  </code></pre>
  
  <p>What I am missing ?</p>