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

Commit 7d77f1e7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix "null" toast when FillCallback.onFailure(null) called." into rvc-qpr-dev am: 906ec889

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

Change-Id: I63f90c2cd18af251b645e5484c29a07dbb81ee94
parents fc9c7531 906ec889
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -161,8 +161,9 @@ final class RemoteFillService extends ServiceConnector.Impl<IAutoFillService> {

                @Override
                public void onFailure(int requestId, CharSequence message) {
                    String errorMessage = message == null ? "" : String.valueOf(message);
                    fillRequest.completeExceptionally(
                            new RuntimeException(String.valueOf(message)));
                            new RuntimeException(errorMessage));
                }
            });
            return fillRequest;