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

Commit 9a781894 authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

Merge "Don't WTF when assist structure is missing." into oc-dev am: 9fe48b43

am: 0dc16dde

Change-Id: I60f2b830c7e93af0d6df148812d7e88309843560
parents 868dd0d1 0dc16dde
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -174,13 +174,13 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
        public void send(int resultCode, Bundle resultData) throws RemoteException {
            final AssistStructure structure = resultData.getParcelable(KEY_STRUCTURE);
            if (structure == null) {
                Slog.wtf(TAG, "no assist structure");
                Slog.e(TAG, "No assist structure - app might have crashed providing it");
                return;
            }

            final Bundle receiverExtras = resultData.getBundle(KEY_RECEIVER_EXTRAS);
            if (receiverExtras == null) {
                Slog.wtf(TAG, "No " + KEY_RECEIVER_EXTRAS + " on receiver");
                Slog.e(TAG, "No receiver extras - app might have crashed providing it");
                return;
            }