summaryrefslogtreecommitdiff
path: root/libs/input/KeyCharacterMap.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2014-04-18 15:43:35 -0700
committer Dan Stoza <stoza@google.com> 2014-04-18 15:50:43 -0700
commitae3c3682333f25e860fe54e2bae3599bb466cdb6 (patch)
treeebfb57a146108102f65357f022a3770c073a0c8a /libs/input/KeyCharacterMap.cpp
parent7f605bd4c09e2b086e69751491e25e98f4a0eb98 (diff)
BufferQueue: Guard against unbounded queue growth
Adds logic to dequeueBuffer that blocks if there are currently too many buffers in the queue. This prevents unbounded growth around times where the slots are cleared but the queue is not (e.g., during rapid connect/disconnect or setBufferCount activity). This replaces the fix from ag/377958 in a more general way. Bug: 11293214 Change-Id: Ieb7adfcd076ff7ffe3d4d369397b2c29cf5099c3
Diffstat (limited to 'libs/input/KeyCharacterMap.cpp')
0 files changed, 0 insertions, 0 deletions