Loading
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