Skip to content
Commit 77e95892 authored by Narayan Kamath's avatar Narayan Kamath Committed by Richard Uhler
Browse files

ResourceManager: Disable APK Assets cache.

The WeakReference based cache of Assets in use elsewhere in the
process remains unchanged.

Note that this change is larger than it needs to be because it is
an error to create an LruCache of size zero.

There seems to be no measurable difference as measured by the standard
app startup benchmarks.

Test: atest -v google/perf/app-startup/benchmark-app-hermetic/cold-dropcache-test
Bug: 111385832
(cherry picked from commit bc956218)

Change-Id: Ib7a52bd03f6f13cdb76b82abc307d17227c4c1dc
parent 30fdcbad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment