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
commit248b5bd51e325107f8119b564db6a06ac51c232a (patch)
tree9a059822a1817d5ffb68d471f6e83ec20f583a89 /include/private
parent436c627ca4228284caf363f0cb35947e58b841b9 (diff)
downloadframeworks_base-248b5bd51e325107f8119b564db6a06ac51c232a.zip
frameworks_base-248b5bd51e325107f8119b564db6a06ac51c232a.tar.gz
frameworks_base-248b5bd51e325107f8119b564db6a06ac51c232a.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);