diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-11-11 19:22:20 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-11-11 19:22:20 +0000 |
| commit | 043c9dee2d5e9f0c63bcf2a012b5f93bc32cd307 (patch) | |
| tree | c25d97b5f679ceda3846f6dc1ed6e4e15dd03be0 /core/java/android | |
| parent | 618d74c54ad9b09a8e25e6fb1b345eeb0e960945 (diff) | |
| parent | 57954552adf27adc991c4d211ac8c3b9c94214ff (diff) | |
Merge "API docs clarification for placing calls." am: 57954552ad
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1853624
Change-Id: If54588ceebba9282a374ad55242a26a53dbb224d
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/content/Intent.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index d811040b6bb2..e781c2fce2b2 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -1147,6 +1147,10 @@ public class Intent implements Parcelable, Cloneable { * numbers. Applications can <strong>dial</strong> emergency numbers using * {@link #ACTION_DIAL}, however. * + * <p>Note: An app filling the {@link android.app.role.RoleManager#ROLE_DIALER} role should use + * {@link android.telecom.TelecomManager#placeCall(Uri, Bundle)} to place calls rather than + * relying on this intent. + * * <p>Note: if you app targets {@link android.os.Build.VERSION_CODES#M M} * and above and declares as using the {@link android.Manifest.permission#CALL_PHONE} * permission which is not granted, then attempting to use this action will |
