Fix build error.
Original name INFINITY conflicts with the macro in math.h. Change-Id: I9845ed84fca17813dd971239a902cc1e0bad1e3e
This commit is contained in:
@ -243,7 +243,7 @@ public:
|
||||
static const char TRUE[];
|
||||
|
||||
// Value for KEY_FOCUS_DISTANCES.
|
||||
static const char INFINITY[];
|
||||
static const char FOCUS_DISTANCE_INFINITY[];
|
||||
|
||||
// Values for white balance settings.
|
||||
static const char WHITE_BALANCE_AUTO[];
|
||||
|
@ -72,7 +72,7 @@ const char CameraParameters::KEY_SMOOTH_ZOOM_SUPPORTED[] = "smooth-zoom-supporte
|
||||
const char CameraParameters::KEY_FOCUS_DISTANCES[] = "focus-distances";
|
||||
|
||||
const char CameraParameters::TRUE[] = "true";
|
||||
const char CameraParameters::INFINITY[] = "Infinity";
|
||||
const char CameraParameters::FOCUS_DISTANCE_INFINITY[] = "Infinity";
|
||||
|
||||
// Values for white balance settings.
|
||||
const char CameraParameters::WHITE_BALANCE_AUTO[] = "auto";
|
||||
|
Reference in New Issue
Block a user