This is for usb camera support
Change-Id: Id8329e31ad0622bdc06c60e87e97c742a9719b3b
<span class="entry_type_enum_name">BACK</span>
<span class="entry_type_enum_notes"><p>The camera device faces the opposite direction as the device's screen.<wbr/></p></span>
</li>
+ <li>
+ <span class="entry_type_enum_name">EXTERNAL</span>
+ <span class="entry_type_enum_notes"><p>The camera device is an external camera,<wbr/> and has no fixed facing relative to the
+device's screen.<wbr/></p></span>
+ </li>
</ul>
</td> <!-- entry_type -->
<notes>
The camera device faces the opposite direction as the device's screen.
</notes></value>
+ <value>EXTERNAL
+ <notes>
+ The camera device is an external camera, and has no fixed facing relative to the
+ device's screen.
+ </notes></value>
</enum>
<description>Direction the camera faces relative to
device screen.</description>
typedef enum camera_metadata_enum_android_lens_facing {
ANDROID_LENS_FACING_FRONT,
ANDROID_LENS_FACING_BACK,
+ ANDROID_LENS_FACING_EXTERNAL,
} camera_metadata_enum_android_lens_facing_t;
// ANDROID_LENS_STATE
msg = "BACK";
ret = 0;
break;
+ case ANDROID_LENS_FACING_EXTERNAL:
+ msg = "EXTERNAL";
+ ret = 0;
+ break;
default:
msg = "error: enum value out of range";
}