OSDN Git Service

Camera2: Make static_camera_characteristics const.
authorEino-Ville Talvala <etalvala@google.com>
Fri, 24 Aug 2012 19:32:17 +0000 (12:32 -0700)
committerEino-Ville Talvala <etalvala@google.com>
Mon, 27 Aug 2012 17:30:04 +0000 (10:30 -0700)
commitb8b6439598ecc5faecfce8d43f3418b057714b4c
tree4600264eca6bd2b8e9d253f2e826586e54115a1d
parent43a2bbb9de4f51754b7b131fc282aa2f9115c09e
Camera2: Make static_camera_characteristics const.

Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: I6921d6889937212867efb99aa3881ab3ffc4f6f9
include/hardware/camera_common.h
tests/camera2/camera2.cpp