summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-09-14 15:48:42 -0700
committerMathias Agopian <mathias@google.com>2009-09-14 15:48:42 -0700
commitbd8527110caa5427ade0edd7ce0d00e63f15ccbc (patch)
treeb3f278132e4c3e9b78cfdfa48a97bf84f26e5d98 /include/private
parentdf5e76f9c635a84efa16c5e2f6cf516b4b8fe300 (diff)
downloadframeworks_base-bd8527110caa5427ade0edd7ce0d00e63f15ccbc.zip
frameworks_base-bd8527110caa5427ade0edd7ce0d00e63f15ccbc.tar.gz
frameworks_base-bd8527110caa5427ade0edd7ce0d00e63f15ccbc.tar.bz2
make sure to update the tail pointer when undoing a dequeue
Diffstat (limited to 'include/private')
-rw-r--r--include/private/ui/SharedBufferStack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/ui/SharedBufferStack.h b/include/private/ui/SharedBufferStack.h
index 6181f55..8b0f154 100644
--- a/include/private/ui/SharedBufferStack.h
+++ b/include/private/ui/SharedBufferStack.h
@@ -228,6 +228,8 @@ private:
friend struct Condition;
friend struct DequeueCondition;
friend struct LockCondition;
+
+ int32_t computeTail() const;
struct QueueUpdate : public UpdateBase {
inline QueueUpdate(SharedBufferBase* sbb);