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

Commit cf098cc7 authored by Alexander Dorokhine's avatar Alexander Dorokhine
Browse files

Fix compilation against latest checkout of external/icing.

Test: m -j com.android.appsearch
Bug: 162755601

Change-Id: I81d2901f9205edcf493b9fc6987f86e6bb8b09ce
parent e31a3122
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -168,7 +168,9 @@ public final class SearchSpec {
        /** Sets the maximum number of results to retrieve from the query */
        @NonNull
        public SearchSpec.Builder setNumToRetrieve(int numToRetrieve) {
            mResultSpecBuilder.setNumToRetrieve(numToRetrieve);
            // Just retrieve everything in one page.
            // TODO(b/152359656): Realign these two apis properly.
            mResultSpecBuilder.setNumPerPage(numToRetrieve);
            return this;
        }