mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 05:56:34 +00:00
58da77ea4b7be4ecb0fee10d20b0e405de7eb2be
When setLayerBuffer() was called on a layer previously destroyed by destroyLayer() the code would crash. Instead, return an error. Bug: 37159844 Test: Ran vr flinger in a way that would trigger the crash, and confirmed that I now get error logs instead of crashing. Unfortunately the error code is consumed by the Composer wrapper class and not propagated back to the caller, but that's a separate issue (b/37901601). Change-Id: I75a5b954d47a1deac44d03851f60f347085eca89
Description
No description provided
Languages
C++
56.3%
AIDL
41.2%
C
1.5%
Rust
0.4%
Java
0.4%
Other
0.1%