Merge "Document runtime exception being thrown on afs.getFillEvents()." into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-09 00:11:36 +00:00
committed by Android (Google) Code Review

View File

@@ -695,6 +695,8 @@ public abstract class AutofillService extends Service {
* finishing the {@link FillCallback}.
*
* @return The history or {@code null} if there are no events.
*
* @throws RuntimeException if the event history could not be retrieved.
*/
@Nullable public final FillEventHistory getFillEventHistory() {
final AutofillManager afm = getSystemService(AutofillManager.class);