title: How to request for permission: READ_PRIVILEGED_PHONE_STATE?
body: <p>How can I request for permission "android.permission.READ_PRIVILEGED_PHONE_STATE"? I know that starting from Android 10, third-party apps installed from the Google Play Store cannot declare privileged permissions.</p>
  
  <p><a href="https://developer.android.com/about/versions/10/privacy/changes#data-ids" rel="nofollow noreferrer">https://developer.android.com/about/versions/10/privacy/changes#data-ids</a></p>
  
  <p>However my app will not be distributet with Google Play Store. I will share the apk file and users will install aplication manually. </p>
  
  <p>I have declared permission in manifest:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /&gt;
  </code></pre>
  
  <p>I'm also trying to request it as any regular permission: </p>
  
  <pre><code>if(ActivityCompat.checkSelfPermission(this.getApplicationContext(), "android.permission.READ_PRIVILEGED_PHONE_STATE") != PackageManager.PERMISSION_GRANTED)        {
              ActivityCompat.requestPermissions(this, new String[]{"android.permission.READ_PRIVILEGED_PHONE_STATE"},123);
          }
  </code></pre>
  
  <p>But nothing is happening. I'm not being prompted to grant this permission. No alert dialog is being presented. How can I request for this permission?</p>