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

Commit 05053b3c authored by Jayant Chowdhary's avatar Jayant Chowdhary Committed by Android Build Coastguard Worker
Browse files

camera2 OutputConfiguration: update cached surface size before sending binder calls to cameraserver

OutputConfigurations may have been created with Surfaces whose size may change
after the creation of OutputConfiguration. Since cameraserver uses the cached configured size, the cached value must be the most up to date one before sending it to cameraserver to be consistent with the Surface's actual size

Bug: 428025474

Test: CameraDeviceTest.java#testSurfaceSizeChange

Flag: EXEMPT; Bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f84c2dd172765a33159e82f258c26f12dc8f66f2)
Merged-In: I708bbd193896a33a3387a5da2a5478a3fa5aeab5
Change-Id: I708bbd193896a33a3387a5da2a5478a3fa5aeab5
parent aaf884fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment