Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You don't need to intercept CALL_PRIVILEGED to make a dialer. There are 3 intents of interest:</p> <p>ACTION_DIAL: invokes the dialer. You should intercept this.</p> <p>CALL: places a call. I suppose you need to intercept this if you are routing the call via VoIP, else just pass it on to the system.</p> <p>CALL_PRIVILEGED: places an Emergency call (911 in US etc). You don't need to intercept this, since these calls are routed specially, even without a SIM card, and without charging the user.</p> <p>For what it's worth, I got the same email from Google. <a href="https://play.google.com/store/apps/details?id=in.lipik.ai_dial" rel="nofollow">My app</a> doesn't even use CALL or CALL_PRIVILEGED intents. There was however, a check in the code that the passed intent was not this action (just for the sake of completeness). So, I think they just scan the data section of the apk to see if this string is used anywhere.</p> <p>Edit try this, it works for my app:</p> <pre><code> &lt;activity android:name=".ActivityName" android:label="@string/activity_name"&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;action android:name="android.intent.action.DIAL" /&gt; &lt;action android:name="android.intent.action.CALL_BUTTON" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity-alias android:targetActivity="fully.qualified.ActivityName" android:name="fully.qualified.ActivityName_HTC_hack" android:exported="true"&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.VIEW" /&gt; &lt;action android:name="android.intent.action.DIAL" /&gt; &lt;data android:scheme="tel" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;category android:name="android.intent.category.BROWSABLE" /&gt; &lt;/intent-filter&gt; &lt;/activity-alias&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload