commit | 5743868e15c88d2886915163652a1571a218bf39 | [log] [tgz] |
---|---|---|
author | Igor Murashkin <iam@google.com> | Fri May 30 10:49:00 2014 -0700 |
committer | Igor Murashkin <iam@google.com> | Fri May 30 11:28:49 2014 -0700 |
tree | 96027c1ee45d748b7df92b55ae9d133dd8be32f5 | |
parent | 2d2e30eeac5b6799808c23b944f29d68ed0c205d [diff] |
camera2: Change android.lens.focusRange to Pair<Float,Float> Since the focus range is defined in diopters (1/distance), it just so happens that in a range [near, far] near >= far which is against the android.util.Range contract. Change it to pair instead. Also adds a marshaler for Pairs since they didn't have one before (and aren't parcelable). Bug: 15335269 Change-Id: If2f3259aeec072438a1c18c1b9728a4c81e92a40