summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2013-05-17 14:48:54 -0700
committerDirk Dougherty <ddougherty@google.com>2013-05-28 16:00:11 -0700
commit7fb15ce74bbc06c88660440f84845a1f3108c3d3 (patch)
tree9fefd21b4a9e7d3eb9914e3bcfcb36c145865ab5
parentc6c149aa14610925158ef1ba6320c9356e45e631 (diff)
downloadframeworks_base-7fb15ce74bbc06c88660440f84845a1f3108c3d3.zip
frameworks_base-7fb15ce74bbc06c88660440f84845a1f3108c3d3.tar.gz
frameworks_base-7fb15ce74bbc06c88660440f84845a1f3108c3d3.tar.bz2
Update documentation of NEW_OUTGOING_CALL
Adds call-handling as a use case for NEW_OUTGOING_CALL Change-Id: Ie511438bd8d9aa245881f050d32221c81e898745
-rw-r--r--core/java/android/content/Intent.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index cf0603e..6f41fb3 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -2255,6 +2255,10 @@ public class Intent implements Parcelable, Cloneable {
* <p>Emergency calls cannot be intercepted using this mechanism, and
* other calls cannot be modified to call emergency numbers using this
* mechanism.
+ * <p>Some apps (such as VoIP apps) may want to redirect the outgoing
+ * call to use their own service instead. Those apps should first prevent
+ * the call from being placed by setting resultData to <code>null</code>
+ * and then start their own app to make the call.
* <p>You must hold the
* {@link android.Manifest.permission#PROCESS_OUTGOING_CALLS}
* permission to receive this Intent.</p>