commit | a495a7b18da20807d96b60b59a48097ba4d031bb | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Tue Apr 02 22:52:42 2024 +0000 |
committer | Emilian Peev <epeev@google.com> | Tue Apr 02 22:52:42 2024 +0000 |
tree | 097cf0fa87e46c43095ce98e2a266980e931f838 | |
parent | 9de79fbab2bd0952d20e3117257cbd7d2cc2012f [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