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

Commit 7195938f authored by Emilian Peev's avatar Emilian Peev
Browse files

Camera VTS: Fix AIDL status typo

"physicalCameraDeviceStatusChange" returns a default
ScopedAStatus that will not include a valid AStatus instance.
This will result in binder instabilities once the status
is being parceled.
Return "ScopedAStatus::ok" instead.

Bug: 253993253
Test: adb shell VtsAidlHalCameraProvider_TargetTest
Change-Id: I219f608a04aaec0631e3de58a7e0d47a30294e52
parent 2f27d9e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ std::vector<std::string> CameraAidlTest::getCameraDeviceNames(
        ScopedAStatus physicalCameraDeviceStatusChange(
                const std::string&, const std::string&,
                ::aidl::android::hardware::camera::common::CameraDeviceStatus) override {
            return ndk::ScopedAStatus();
            return ScopedAStatus::ok();
        }

        std::vector<std::string> externalCameraDeviceNames;