Refactor HW config to use hw.camera_back, and hw.camera_front properties.
This is a continuation of an effort to simplify HW config, and make the UI for it clearer.
This CL gets rid of multiple camera emulation properties, combining everything into just
two properties:
- hw.camera_back that controls emulation of a camera facing back, and
- hw.camera_front that controls emulation of a camera facing front.
Change-Id: Ia114ae4caf2053685cbff00f39088e5b5be2952c
diff --git a/android/cmdline-options.h b/android/cmdline-options.h
index d490e40..aa85c0e 100644
--- a/android/cmdline-options.h
+++ b/android/cmdline-options.h
@@ -156,8 +156,9 @@
OPT_PARAM( gpu, "<mode>", "set hardware OpenGLES emulation mode" )
-OPT_PARAM( fake_camera, "<mode>", "set fake camera emulation mode" )
-OPT_LIST( webcam, "name=<name>[,dir=<direction>]", "setup web camera emulation" )
+OPT_PARAM( camera_back, "<mode>", "set emulation mode for a camera facing back" )
+OPT_PARAM( camera_front, "<mode>", "set emulation mode for a camera facing front" )
+OPT_FLAG( webcam_list, "lists web cameras available for emulation" )
OPT_PARAM( screen, "<mode>", "set emulated screen mode" )