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

Commit 731178ea authored by Hidenori Kobayashi's avatar Hidenori Kobayashi Committed by Avichal Rakesh
Browse files

Camera: Vts: update check for setCallback

A Rust HAL cannot return a service specific error when a nullptr is
passed to setCallback, since libbinder_rs checks for nullptr and returns
EX_NULL_POINTER before the request reaches the specific HAL.

Bug: 360755781
Test: atest VtsAidlHalCameraProvider_TargetTest

Change-Id: I8c558aa6b1d7c89b89506b975b4acd97b5571791
parent eb9805c2
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