Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2dbba235 authored by Adam He's avatar Adam He
Browse files

Document runtime exception being thrown on afs.getFillEvents().

Fixes: 128029710
Test: atest CtsAutoFillServiceTestCases
Change-Id: I65936671e5d12a5c6b597bd6f4c7c97cd66f0b95
parent 568b02ee
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);