diff options
author | 2014-01-27 10:31:44 +0800 | |
---|---|---|
committer | 2014-01-28 06:08:52 +0000 | |
commit | 334778981dc01b5f8f4e137eb3f78745e214cf4d (patch) | |
tree | cade150e29b67f369efc67c85391d8b1fbaf962f /tests/SystemUIDemoModeController/src | |
parent | 1ff4293e33f98e6dc19e4f154cb497af9bd88c9d (diff) |
Release locked buffer when it fails to acquire graphics buffer
The JNI buffer in ImageReader_imageSetup is not released when
it fails to acquire graphics buffer. After all JNI buffers are
exhausted, ACQUIRE_MAX_IMAGES will be returned and leads to
error. The JNI buffer should be released when it fails to acquire
graphics buffer.
Change-Id: I3319a58ac44e36c8593b404672a685c4b589a735
Diffstat (limited to 'tests/SystemUIDemoModeController/src')
0 files changed, 0 insertions, 0 deletions