summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/ClientCache.h
diff options
context:
space:
mode:
author Xin Li <delphij@google.com> 2019-10-27 04:44:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-10-27 04:44:29 +0000
commit1aed8b369dd977fba69134fc03bf3762c26c560c (patch)
tree5840f75cb9669f1da1c4aae8ab1cf2dedd016fb8 /services/surfaceflinger/ClientCache.h
parent19c8513c7b7d75ddd78d1b4c6948e4dadc1e50f7 (diff)
parent0205f87a0121f1e6057055752365a01b390c60ec (diff)
Merge "Merge Coral/Flame into AOSP master"
Diffstat (limited to 'services/surfaceflinger/ClientCache.h')
-rw-r--r--services/surfaceflinger/ClientCache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/ClientCache.h b/services/surfaceflinger/ClientCache.h
index 9f057c45d4..aa6c80dfa7 100644
--- a/services/surfaceflinger/ClientCache.h
+++ b/services/surfaceflinger/ClientCache.h
@@ -36,7 +36,7 @@ class ClientCache : public Singleton<ClientCache> {
public:
ClientCache();
- void add(const client_cache_t& cacheId, const sp<GraphicBuffer>& buffer);
+ bool add(const client_cache_t& cacheId, const sp<GraphicBuffer>& buffer);
void erase(const client_cache_t& cacheId);
sp<GraphicBuffer> get(const client_cache_t& cacheId);
@@ -48,7 +48,7 @@ public:
virtual void bufferErased(const client_cache_t& clientCacheId) = 0;
};
- void registerErasedRecipient(const client_cache_t& cacheId,
+ bool registerErasedRecipient(const client_cache_t& cacheId,
const wp<ErasedRecipient>& recipient);
void unregisterErasedRecipient(const client_cache_t& cacheId,
const wp<ErasedRecipient>& recipient);