commit | 6fd0b7bef328608652ca3a75961fc3c47a4824ef | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Tue Apr 02 22:52:42 2024 +0000 |
committer | Emilian Peev <epeev@google.com> | Thu Apr 04 16:04:28 2024 +0000 |
tree | 4dc9b5cd75e6b0d819c46457a79c85aa0900667a | |
parent | 40c4498347c04f3962d4d7c03c736ad78d2c5f81 [diff] |
Camera: Disable surface usage caching for external surfaces Calls to 'getEndpointUsageForSurface' may pass a reference to a surface that is external (not equal to 'mConsumer'). Caching the usage value in this scenario must be avoided. Bug: 332417443 Test: atest CtsCameraTestCases:android.hardware.camera2.cts.RecordingTest#testVideoPreviewSurfaceSharing Change-Id: Ie10dae67385560c7825b6a4e36171da683ceef2c (cherry picked from commit a495a7b18da20807d96b60b59a48097ba4d031bb)