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

Skip to content
Commit 208bc42d authored by danielml's avatar danielml Committed by Austin Borger
Browse files

libcameraservice: Use the correct vendor tag id type on filterParameters



This fixes an overflow caused by using the `int` type, thus breaking
the camera on cases where the actual vendor tag id is bigger than the
maximum value `int` can hold.

Test: Open camera, make sure that preview shows correctly and that
      there are no vendor tag errors in logs.
Signed-off-by: default avatardanielml <daniel@danielml.dev>
(cherry picked from https://android-review.googlesource.com/q/commit:753a9af448cacea5418da6e28adae30dc1b2f041)
Merged-In: I32bf9bcb7137990d28b9fcbe1b27bc41ebbd50ee
Change-Id: Ia00e9e3fcc737bfaf0a917f11690f15d686441ba
parent 7b0acc5b
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