diff options
author | Hall Liu <hallliu@google.com> | 2021-01-21 16:37:51 -0800 |
---|---|---|
committer | Hall Liu <hallliu@google.com> | 2021-01-28 12:28:29 -0800 |
commit | 8fee7eaa81dbfeca3ca655e10c59fcc1bbb36031 (patch) | |
tree | e949064393fae9fda8a25cb5bab767ba94d3d30d /telecomm/java/android/telecom/TelecomManager.java | |
parent | a749abceadc16039b6521c8128c004bde1a3bb08 (diff) |
Rename TelecomManager.EXTRA_INCOMING_PICTURE
Rename to EXTRA_PICTURE_URI, since we also need to set it for outgoing
calls in order to write to the call log correctly.
Bug: 177613111
Test: atest CallComposerTest
Change-Id: Ie171c8f978db7de30e81800c464b2bd68aff73f8
Merged-In: Ie171c8f978db7de30e81800c464b2bd68aff73f8
Diffstat (limited to 'telecomm/java/android/telecom/TelecomManager.java')
-rw-r--r-- | telecomm/java/android/telecom/TelecomManager.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/telecomm/java/android/telecom/TelecomManager.java b/telecomm/java/android/telecom/TelecomManager.java index f7c96fd8890c..472d63946ebc 100644 --- a/telecomm/java/android/telecom/TelecomManager.java +++ b/telecomm/java/android/telecom/TelecomManager.java @@ -314,15 +314,17 @@ public class TelecomManager { public static final String EXTRA_HAS_PICTURE = "android.telecom.extra.HAS_PICTURE"; /** - * A URI representing the picture that was downloaded when a call is received. + * A URI representing the picture that was downloaded when a call is received or uploaded + * when a call is placed. + * * This is a content URI within the call log provider which can be used to open a file * descriptor. This could be set a short time after a call is added to the Dialer app if the - * download is delayed for some reason. The Dialer app will receive a callback via + * download/upload is delayed for some reason. The Dialer app will receive a callback via * {@link Call.Callback#onDetailsChanged} when this value has changed. * * Reference: RCC.20 Section 2.4.3.2 */ - public static final String EXTRA_INCOMING_PICTURE = "android.telecom.extra.INCOMING_PICTURE"; + public static final String EXTRA_PICTURE_URI = "android.telecom.extra.PICTURE_URI"; /** * A ParcelUuid used as a token to represent a picture that was uploaded prior to the call |