summaryrefslogtreecommitdiff
path: root/src/cam/main.h
diff options
context:
space:
mode:
authorUmang Jain <email@uajain.com>2020-08-05 12:53:49 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-08-06 12:57:06 +0100
commit035ee23910233eabbdaed1469f3d329d66e0ead4 (patch)
tree3d567b5ebbb75909ebdcd736808237c1bb6f6f5d /src/cam/main.h
parentaf28a80647707074ed0596e2aa6d45c84b7d9f67 (diff)
android: camera_device: Initialize 'id_' field in constructor
A 'id' is passed when a new CameraDevice is constructed in order for unique identification. Failing to initialize it, will lead to the issue of garbage return value via CameraDevice::id(). Signed-off-by: Umang Jain <email@uajain.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/main.h')
0 files changed, 0 insertions, 0 deletions