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

Commit f84c2dd1 authored by Jayant Chowdhary's avatar Jayant Chowdhary
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
Change-Id: I708bbd193896a33a3387a5da2a5478a3fa5aeab5
parent 959cb278
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