summaryrefslogtreecommitdiff
path: root/core/java/android/content/Intent.java
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2013-05-17 14:48:54 -0700
committerSantos Cordon <santoscordon@google.com>2013-05-17 15:58:12 -0700
commitba70136713ce121acede4e97af996e7fb4de14fd (patch)
treed4dd5b2a7ff637ceb936e1513b001db0119016b5 /core/java/android/content/Intent.java
parentc037282c1ca0d7589168c73f1cf8b19ecc3ffca4 (diff)
Update documentation of NEW_OUTGOING_CALL
Adds call-handling as a use case for NEW_OUTGOING_CALL bug: 8987211 Change-Id: Icd9c53a2dd1a5948a749e133600db21c2560fd1f
Diffstat (limited to 'core/java/android/content/Intent.java')
-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 65f904ff4f3d..001a65c819b5 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -2294,6 +2294,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>