summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-09-10 19:41:18 -0700
committerMathias Agopian <mathias@google.com>2009-09-10 19:41:18 -0700
commit4fc61bfdeff922c3bf88aee52a693b52bd98788c (patch)
tree0122f71b55d6ad595df706aaf49020f6ad130e30 /include/private
parent3dbf98cec721828df6c533ed5dfba8ceccaa3933 (diff)
downloadframeworks_av-4fc61bfdeff922c3bf88aee52a693b52bd98788c.zip
frameworks_av-4fc61bfdeff922c3bf88aee52a693b52bd98788c.tar.gz
frameworks_av-4fc61bfdeff922c3bf88aee52a693b52bd98788c.tar.bz2
fix [2112575] stuck on DequeueCondition for a surface that doesn't exist anymore
this also fixes part of [2111536] Device is soft rebooted after ending the call through voice dialer
Diffstat (limited to 'include/private')
-rw-r--r--include/private/ui/SharedBufferStack.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/private/ui/SharedBufferStack.h b/include/private/ui/SharedBufferStack.h
index e56b8b2..6181f55 100644
--- a/include/private/ui/SharedBufferStack.h
+++ b/include/private/ui/SharedBufferStack.h
@@ -85,6 +85,7 @@ class SharedBufferStack
public:
SharedBufferStack();
+ void init(int32_t identity);
status_t setDirtyRegion(int buffer, const Region& reg);
Region getDirtyRegion(int buffer) const;
@@ -114,7 +115,6 @@ public:
status_t validate(size_t token) const;
uint32_t getIdentity(size_t token) const;
- status_t setIdentity(size_t token, uint32_t identity);
private:
friend class SharedBufferBase;
@@ -262,7 +262,8 @@ private:
class SharedBufferServer : public SharedBufferBase
{
public:
- SharedBufferServer(SharedClient* sharedClient, int surface, int num);
+ SharedBufferServer(SharedClient* sharedClient, int surface, int num,
+ int32_t identity);
ssize_t retireAndLock();
status_t unlock(int buffer);