Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bfebf391 authored by malikakash's avatar malikakash Committed by Android Build Coastguard Worker
Browse files

Fix VendorTagId to be metadata_vendor_id_t

- It is currently int. This was causing downstream issues
  because the CameraMetadata object passed to
  configureStreams had the wrong vendor_id, so we couldn't
  call update() on it with vendor tags.
- As a drive by, specify getVendorId() as being const.
  Without this, we need to keep copying const CameraMetadata
  objects to simply get their vendor id.

Thanks epeev@ for all your pointers along the debugging
journey!

Bug: 316413287
Test: m
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9a238f6c8d4579910dafec89d3dcb1c75e37bc03)
Merged-In: I32bf9bcb7137990d28b9fcbe1b27bc41ebbd50ee
Change-Id: I32bf9bcb7137990d28b9fcbe1b27bc41ebbd50ee
parent 97fcfc7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment