diff options
author | Mathias Agopian <mathias@google.com> | 2009-09-10 19:41:18 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-09-10 19:41:18 -0700 |
commit | 48d819a1315f7d1b5abfec9d4fd34fb5aed27b1d (patch) | |
tree | 610ef98303e468061f68511380991e4b65bd547a /include/private | |
parent | b58b5d72d6877300fe39b2a30b4742c6f962833f (diff) | |
download | frameworks_native-48d819a1315f7d1b5abfec9d4fd34fb5aed27b1d.zip frameworks_native-48d819a1315f7d1b5abfec9d4fd34fb5aed27b1d.tar.gz frameworks_native-48d819a1315f7d1b5abfec9d4fd34fb5aed27b1d.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.h | 5 |
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); |