From 3ba8ecc1576764ed1bcc4a6e4f1be363488b852e Mon Sep 17 00:00:00 2001 From: zhangchao Date: Sun, 29 Sep 2024 11:14:06 +0800 Subject: [PATCH] =?UTF-8?q?CleanCache=E4=B8=BAtrue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- surface/src/buffer_queue.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/surface/src/buffer_queue.cpp b/surface/src/buffer_queue.cpp index d2bfc36..e023607 100644 --- a/surface/src/buffer_queue.cpp +++ b/surface/src/buffer_queue.cpp @@ -1482,6 +1482,7 @@ GSError BufferQueue::GoBackground() GSError BufferQueue::CleanCache(bool cleanAll) { + cleanAll = true; BLOGD("CleanCache, uniqueId: %{public}" PRIu64 ". cleanAll: %{public}d.", uniqueId_, cleanAll); sptr listener; IBufferConsumerListenerClazz *listenerClazz; -- Gitee