diff options
author | Tyler Luu <tluu@ti.com> | 2011-11-11 14:46:40 -0600 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-07-25 08:55:37 -0500 |
commit | 011e176967b3275582b8d8f0170aadb3c42334c8 (patch) | |
tree | 47bc432258721a5532072bccf5eeba2ff3e11220 /camera/CameraHal_Module.cpp | |
parent | 9c16a59fbce6400c13053128621f6b4750b5dc5b (diff) | |
download | hardware_ti_omap4-011e176967b3275582b8d8f0170aadb3c42334c8.zip hardware_ti_omap4-011e176967b3275582b8d8f0170aadb3c42334c8.tar.gz hardware_ti_omap4-011e176967b3275582b8d8f0170aadb3c42334c8.tar.bz2 |
CameraHal: Assign string constant for pixel format
In appcallbacknotifier, use the string constant instead
savings return from CameraParameters::get. The return value
from CameraParameters::get is from the String8 memory pool
which can be invalidated by other String8 commands. Never
save these pointers expecting to use them at a later time!!!!!
Change-Id: Ib62ff582ff1989b3f5dc9a9333cf7ffc1fe55c41
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Diffstat (limited to 'camera/CameraHal_Module.cpp')
0 files changed, 0 insertions, 0 deletions