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

Commit e993a709 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

Merge "Select the right pages to scrap" into oc-dev am: 890cb590

am: 955aead4

Change-Id: Ie7ea8573c00506a035a1eb61bdff7f66780e27ce
parents 7a2bd512 955aead4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -426,7 +426,7 @@ public final class PageRangeUtils {
            // be based off the start of the written ones instead of zero.
            // The written pages are always non-null and not empty.
            final int offset = -pagesWrittenToFile[0].getStart();
            PageRangeUtils.offset(pagesInDocRequested, offset);
            PageRangeUtils.offset(pagesInDocRequested.clone(), offset);
            return pagesInDocRequested;
        } else if (Arrays.equals(pagesInDocRequested, ALL_PAGES_RANGE)
                && isAllPages(pagesWrittenToFile, pageCount)) {