diff options
author | John Reck <jreck@google.com> | 2019-10-04 13:30:51 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2019-10-04 13:30:51 -0700 |
commit | 8a207962ec84904a0fb8c7b5ce547ed2d1b59794 (patch) | |
tree | 37f059af1d3fa5d50087adf469ac6f135f20bd5e /libs/hwui/renderthread/CacheManager.cpp | |
parent | 781630e4b4d67e0371c133ae64923ede1b989250 (diff) |
Drop all caches in UI_HIDDEN
Bug: 137853925
Test: none
Change-Id: Idf7002d9b07cc6b71b38ce76e7b6382100279a99
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
-rw-r--r-- | libs/hwui/renderthread/CacheManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/CacheManager.cpp b/libs/hwui/renderthread/CacheManager.cpp index fc268138e071..20e607dfe6c0 100644 --- a/libs/hwui/renderthread/CacheManager.cpp +++ b/libs/hwui/renderthread/CacheManager.cpp @@ -135,7 +135,7 @@ void CacheManager::trimStaleResources() { return; } mGrContext->flush(); - mGrContext->purgeResourcesNotUsedInMs(std::chrono::seconds(30)); + mGrContext->performDeferredCleanup(std::chrono::seconds(30)); } sp<skiapipeline::VectorDrawableAtlas> CacheManager::acquireVectorDrawableAtlas() { |