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>
Fri, 24 Aug 2012 21:28:54 +0000 (14:28 -0700)
commitd959ec5297c19b9b8f1760c9237030bf931b5803
tree8aef4fda7f2fb60ac7acc68390cccd2bac1a10f2
parent1098f9d7e93c9ab30e4a4a6c7533003a3415cc0c
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: Ib8de5e9d6580187b21a5ae9a28a3d24f1d083f7b
include/hardware/camera_common.h
tests/camera2/camera2.cpp