summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJayant Chowdhary <jchowdhary@google.com>2021-08-03 02:07:23 -0700
committerJayant Chowdhary <jchowdhary@google.com>2021-08-03 12:38:37 -0700
commitd3c86632f8a740f6cecd9092b82ecdbee21b5883 (patch)
tree0822314c7ff2513edcf5b5617a13e720b9db7a85 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta017823717cbef884461168bb77bd3d316c70467 (diff)
camera2: Fix backward compatibility breakage for setting metering regions.
With the new entries in sSetCommandMap, the private functions for setting metering regions cast the input value to MeteringRegion[], which can break some existing clients which pass in Object[] to CameraMetadata.set(). We revert to the old behavior of letting Marshaler handle conversion from Object[] -> MeteringRectangle[] internally. Bug: 195095702 Test: GCA with different zoom (basic validity) Test: ITS scene1_1 Test: Camera CTS Change-Id: Iea372adf76d1c6f81f1c63ff2bd3553ab39f30e4 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions