diff options
author | John Reck <jreck@google.com> | 2019-10-08 23:28:41 +0000 |
---|---|---|
committer | John Reck <jreck@google.com> | 2019-10-08 23:28:41 +0000 |
commit | f846aeec9d87cb0cef58061d400efe3af7008903 (patch) | |
tree | 6862a5843812163bef6b424c5bdbb02b86a3aeae /libs/hwui/renderthread/CacheManager.cpp | |
parent | 8a207962ec84904a0fb8c7b5ce547ed2d1b59794 (diff) |
Revert "Drop all caches in UI_HIDDEN"
This reverts commit 8a207962ec84904a0fb8c7b5ce547ed2d1b59794.
Bug: 142301356
Test: none, speculative
Reason for revert: Seems to break alarm?
Change-Id: Ia1680d1a937b596297c2eab3e54476daf9589347
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 20e607dfe6c0..fc268138e071 100644 --- a/libs/hwui/renderthread/CacheManager.cpp +++ b/libs/hwui/renderthread/CacheManager.cpp @@ -135,7 +135,7 @@ void CacheManager::trimStaleResources() { return; } mGrContext->flush(); - mGrContext->performDeferredCleanup(std::chrono::seconds(30)); + mGrContext->purgeResourcesNotUsedInMs(std::chrono::seconds(30)); } sp<skiapipeline::VectorDrawableAtlas> CacheManager::acquireVectorDrawableAtlas() { |