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

Commit b67529b9 authored by Iain Merrick's avatar Iain Merrick
Browse files

Add setContentLength method to CacheResult.

This is needed to construct a cachable CacheResult object.
Currently only WebViewWorker is able to do this, by updating
the fields directly.

Bug: 3270236

Change-Id: I50148697dcee4d329e1436a2ce4c15224cb5ae30
parent 7fee71f6
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -167,6 +167,13 @@ public final class CacheManager {
        public void setEncoding(String encoding) {
            this.encoding = encoding;
        }

        /**
         * @hide
         */
        public void setContentLength(long contentLength) {
            this.contentLength = contentLength;
        }
    }

    /**