diff --git a/surface/src/buffer_queue.cpp b/surface/src/buffer_queue.cpp index d2bfc36bed0213924136e95bba95aa762051ece8..e023607112db02afbb6cf0bed9e36a9362be9d28 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;