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
diff --git a/libs/hwui/renderthread/CacheManager.cpp b/libs/hwui/renderthread/CacheManager.cpp
index 20e607d..fc26813 100644
--- a/libs/hwui/renderthread/CacheManager.cpp
+++ b/libs/hwui/renderthread/CacheManager.cpp
@@ -135,7 +135,7 @@
         return;
     }
     mGrContext->flush();
-    mGrContext->performDeferredCleanup(std::chrono::seconds(30));
+    mGrContext->purgeResourcesNotUsedInMs(std::chrono::seconds(30));
 }
 
 sp<skiapipeline::VectorDrawableAtlas> CacheManager::acquireVectorDrawableAtlas() {