Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
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
Farzin Kazemzadeh
platform_frameworks_base-old
Commits
f4f96c16
Commit
f4f96c16
authored
4 years ago
by
Hall Liu
Committed by
Android (Google) Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Improve docs for uploadCallComposerPicture" into sc-dev
parents
db9ef8e7
a8af60de
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
telephony/java/android/telephony/TelephonyManager.java
+7
-1
7 additions, 1 deletion
telephony/java/android/telephony/TelephonyManager.java
with
7 additions
and
1 deletion
telephony/java/android/telephony/TelephonyManager.java
+
7
−
1
View file @
f4f96c16
...
...
@@ -4461,6 +4461,10 @@ public class TelephonyManager {
* This functionality is only available to the app filling the {@link RoleManager#ROLE_DIALER}
* role on the device.
*
* This functionality is only available when
* {@link CarrierConfigManager#KEY_SUPPORTS_CALL_COMPOSER_BOOL} is set to {@code true} in the
* bundle returned from {@link #getCarrierConfig()}.
*
* @param pictureToUpload An {@link InputStream} that supplies the bytes representing the
* picture to upload. The client bears responsibility for closing this
* stream after {@code callback} is called with success or failure.
...
...
@@ -4469,7 +4473,9 @@ public class TelephonyManager {
* of {@link #getMaximumCallComposerPictureSize()}, the upload will be
* aborted and the callback will be called with an exception containing
* {@link CallComposerException#ERROR_FILE_TOO_LARGE}.
* @param contentType The MIME type of the picture you're uploading (e.g. image/jpeg)
* @param contentType The MIME type of the picture you're uploading (e.g. image/jpeg). The list
* of acceptable content types can be found at 3GPP TS 26.141 sections
* 4.2 and 4.3.
* @param executor The {@link Executor} on which the {@code pictureToUpload} stream will be
* read, as well as on which the callback will be called.
* @param callback A callback called when the upload operation terminates, either in success
...
...
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