Merge "Clarify API docs for getCannedTextResponses." am: fc1a08a982 am: 9626f7cc42

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1451125

Change-Id: I28cc23ba83cd26471e877b1fbfd9d79d5b939870
This commit is contained in:
Treehugger Robot
2020-10-08 01:46:51 +00:00
committed by Automerger Merge Worker

View File

@ -2111,7 +2111,13 @@ public final class Call {
/**
* Obtains a list of canned, pre-configured message responses to present to the user as
* ways of rejecting this {@code Call} using via a text message.
* ways of rejecting an incoming {@code Call} using via a text message.
* <p>
* <em>Note:</em> Since canned responses may be loaded from the file system, they are not
* guaranteed to be present when this {@link Call} is first added to the {@link InCallService}
* via {@link InCallService#onCallAdded(Call)}. The callback
* {@link Call.Callback#onCannedTextResponsesLoaded(Call, List)} will be called when/if canned
* responses for the call become available.
*
* @see #reject(boolean, String)
*