Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dhina17
platform_frameworks_base
Commits
a0b29244
Commit
a0b29244
authored
1 year ago
by
Brad Ebinger
Committed by
Gerrit Code Review
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge "Modify docs to clarify rules around placing calls to CF MMI codes" into main
parents
0092cae0
8ad07c82
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/java/android/content/Intent.java
+5
-0
5 additions, 0 deletions
core/java/android/content/Intent.java
telecomm/java/android/telecom/TelecomManager.java
+5
-0
5 additions, 0 deletions
telecomm/java/android/telecom/TelecomManager.java
with
10 additions
and
0 deletions
core/java/android/content/Intent.java
+
5
−
0
View file @
a0b29244
...
...
@@ -1161,6 +1161,11 @@ public class Intent implements Parcelable, Cloneable {
* numbers. Applications can <strong>dial</strong> emergency numbers using
* {@link #ACTION_DIAL}, however.
*
* <p>Note: This Intent can only be used to dial call forwarding MMI codes if the application
* using this intent is set as the default or system dialer. The system will treat any other
* application using this Intent for the purpose of dialing call forwarding MMI codes as if the
* {@link #ACTION_DIAL} Intent was used instead.
*
* <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.
...
...
This diff is collapsed.
Click to expand it.
telecomm/java/android/telecom/TelecomManager.java
+
5
−
0
View file @
a0b29244
...
...
@@ -2352,6 +2352,11 @@ public class TelecomManager {
* <p>
* <b>Note</b>: {@link android.app.Notification.CallStyle} notifications should be posted after
* the call is placed in order for the notification to be non-dismissible.
* <p><b>Note</b>: Call Forwarding MMI codes can only be dialed by applications that are
* configured as the user defined default dialer or system dialer role. If a call containing a
* call forwarding MMI code is placed by an application that is not in one of these roles, the
* dialer will be launched with a UI showing the MMI code already populated so that the user can
* confirm the action before the call is placed.
* @param address The address to make the call to.
* @param extras Bundle of extras to use with the call.
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment