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

Commit 78beac60 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Adds null pointer checking"

parents 19c3ac64 e66bfb9a
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -609,12 +609,14 @@ public final class FillResponse implements Parcelable {
                        "must add at least 1 dataset when using header or footer");
            }

            if (mDatasets != null) {
                for (final Dataset dataset : mDatasets) {
                    if (dataset.getFieldInlinePresentation(0) != null) {
                        mSupportsInlineSuggestions = true;
                        break;
                    }
                }
            }

            mDestroyed = true;
            return new FillResponse(this);