diff options
author | Zhijun He <zhijunhe@google.com> | 2013-09-26 10:39:36 -0700 |
---|---|---|
committer | Zhijun He <zhijunhe@google.com> | 2013-09-26 10:39:36 -0700 |
commit | c59b078acb20e65ef53169891925f9cee017ba6f (patch) | |
tree | eb656a1ec45cd8e1588c2224544f9193f531715e /core/java/android/hardware/camera2 | |
parent | aea8ec1a73ddf594cb295459916ab5b77820f061 (diff) | |
download | frameworks_base-c59b078acb20e65ef53169891925f9cee017ba6f.zip frameworks_base-c59b078acb20e65ef53169891925f9cee017ba6f.tar.gz frameworks_base-c59b078acb20e65ef53169891925f9cee017ba6f.tar.bz2 |
Camera2: Fix focusRange type
It should be a pair of floats.
Bug: 10360518
Change-Id: Ic0aee6c08eee385ecbf634bafc769e08dc199c1f
Diffstat (limited to 'core/java/android/hardware/camera2')
-rw-r--r-- | core/java/android/hardware/camera2/CaptureResult.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/hardware/camera2/CaptureResult.java b/core/java/android/hardware/camera2/CaptureResult.java index fc277f1..30bffc4 100644 --- a/core/java/android/hardware/camera2/CaptureResult.java +++ b/core/java/android/hardware/camera2/CaptureResult.java @@ -550,8 +550,8 @@ public final class CaptureResult extends CameraMetadata { * fixed depth of field range * </p> */ - public static final Key<Float> LENS_FOCUS_RANGE = - new Key<Float>("android.lens.focusRange", float.class); + public static final Key<float[]> LENS_FOCUS_RANGE = + new Key<float[]>("android.lens.focusRange", float[].class); /** * <p> |