Er the documentation right above and below what you quoted talks about
canceling calls:

Once the broadcast is finished, the resultData is used as the actual number
to call. If null, no call will be placed.
...

For consistency, any receiver whose purpose is to prohibit phone calls
should have a priority of 0, to ensure it will see the final phone number to
be dialed. Any receiver whose purpose is to rewrite phone numbers to be
called should have a positive priority. Negative priorities are reserved for
the system for this broadcast; using them may cause problems.


On Fri, Sep 25, 2009 at 4:03 AM, Lee <[email protected]> wrote:

>
> Hello,
>
> I'm interested in selectively blocking phone calls. In the docs on
> this intent I see:
>
> "...for example, a parental control application might verify that the
> user is authorized to place the call at that time,....
> ...
> Any BroadcastReceiver receiving this Intent *must not* abort the
> broadcast."
>
> Blocking calls using this method seems to work fine, are there ill-
> effects to be expected ?
>
> And if you don't abort the broadcast, what action is the parental
> control  application mentioned first supposed  to take ?
>
> Thanks for any hints,
>
> Lee
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to